Changeset 36189


Ignore:
Timestamp:
2013-04-03T12:41:07+02:00 (5 years ago)
Author:
kaloz
Message:

[toolchain/gcc]: remove the old (and nonworking) hack and identify our patched GCCs properly

Location:
trunk/toolchain/gcc
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/toolchain/gcc/common.mk

    r36155 r36189  
    6464 
    6565BUGURL=https://dev.openwrt.org/ 
     66ifeq ($(findstring linaro, $(CONFIG_GCC_VERSION)),linaro) 
     67  PKGVERSION=OpenWrt/Linaro GCC $(PKG_REV) $(REVISION) 
     68else 
     69  PKGVERSION=OpenWrt GCC $(PKG_VERSION) $(REVISION) 
     70endif 
    6671 
    6772HOST_BUILD_PARALLEL:=1 
     
    9398        SHELL="$(BASH)" \ 
    9499        $(HOST_SOURCE_DIR)/configure \ 
     100                --with-bugurl=$(BUGURL) \ 
     101                --with-pkgversion="$(PKGVERSION)" \ 
    95102                --prefix=$(TOOLCHAIN_DIR) \ 
    96103                --build=$(GNU_HOST_NAME) \ 
  • trunk/toolchain/gcc/minimal/Makefile

    r33523 r36189  
    2222        $(CP) $(SCRIPT_DIR)/config.{guess,sub} $(HOST_BUILD_DIR)/ 
    2323        $(SED) 's,^MULTILIB_OSDIRNAMES,# MULTILIB_OSDIRNAMES,' $(HOST_BUILD_DIR)/gcc/config/*/t-* 
    24         $(SED) 's,\(version_string.. = "[0-9\.]*\).*\(";\),\1 (OpenWrt-2.0)\2,' $(HOST_BUILD_DIR)/gcc/version.c 
    25         $(SED) 's,\(bug_report_url.. = "\).*\(";\),\1<URL:$(BUGURL)>\2,' $(HOST_BUILD_DIR)/gcc/version.c 
    26         $(SED) 's,http://gcc.gnu.org/bugs.html,$(BUGURL),' $(HOST_BUILD_DIR)/gcc/configure 
     24        $(SED) 'd' $(HOST_BUILD_DIR)/gcc/DATESTAMP 
     25        $(SED) 'd' $(HOST_BUILD_DIR)/gcc/DEV-PHASE 
    2726        #(cd $(HOST_BUILD_DIR)/libstdc++-v3; autoconf;); 
    2827        $(SED) 's,gcc_no_link=yes,gcc_no_link=no,' $(HOST_BUILD_DIR)/libstdc++-v3/configure 
Note: See TracChangeset for help on using the changeset viewer.