add 'OpenWrt-2.0' to gcc version info

SVN-Revision: 3058
lede-17.01
Felix Fietkau 2006-01-27 18:51:42 +00:00
parent d35d0c1ccc
commit 34a6cbba46
1 changed files with 2 additions and 0 deletions

View File

@ -79,6 +79,8 @@ ifeq ("$(strip $(ARCH))","armeb")
$(SCRIPT_DIR)/patch-kernel.sh $(GCC_DIR) ./$(GCC_VERSION) arm-softfloat.patch.conditional
endif
endif
$(SED) 's,\(version_string.. = "[0-9\.]*\).*\(";\),\1 (OpenWrt-2.0)\2,' $(GCC_DIR)/gcc/version.c
$(SED) 's,\(bug_report_url.. = "\).*\(";\),\1<URL:https://dev.openwrt.org/>\2,' $(GCC_DIR)/gcc/version.c
touch $(GCC_DIR)/.patched
# The --without-headers option stopped working with gcc 3.0 and has never been