Changeset 8e4e7a3 in freewrt for toolchain/gcc/Makefile
- Timestamp:
- Jul 16, 2006, 5:11:43 PM (19 years ago)
- Branches:
- freewrt_1_0, freewrt_2_0
- Children:
- c6ac237
- Parents:
- 807b7c3
- File:
-
- 1 edited
-
toolchain/gcc/Makefile (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
toolchain/gcc/Makefile
r807b7c3 r8e4e7a3 2 2 3 3 include $(TOPDIR)/rules.mk 4 include ../rules.mk 4 5 5 6 GCC_VERSION:=3.4.4 6 7 GCC_SITE:=ftp://ftp.fu-berlin.de/unix/languages/gcc/releases/gcc-$(GCC_VERSION) \ 7 8 http://mirrors.rcn.net/pub/sourceware/gcc/releases/gcc-$(GCC_VERSION) 8 GCC_SOURCE:=gcc-$(GCC_VERSION).tar.bz29 SOURCE:=gcc-$(GCC_VERSION).tar.bz2 9 10 GCC_DIR:=$(TOOLCHAIN_BUILD_DIR)/gcc-$(GCC_VERSION) 10 GCC_CAT:=bzcat11 11 12 12 TARGET_LANGUAGES:=c,c++ … … 14 14 GCC_BUILD_DIR1:=$(TOOLCHAIN_BUILD_DIR)/gcc-$(GCC_VERSION)-initial 15 15 16 $(DL_DIR)/$( GCC_SOURCE):16 $(DL_DIR)/$(SOURCE): 17 17 mkdir -p $(DL_DIR) 18 $(SCRIPT_DIR)/download.pl $(DL_DIR) $( GCC_SOURCE) x $(GCC_SITE)18 $(SCRIPT_DIR)/download.pl $(DL_DIR) $(SOURCE) x $(GCC_SITE) 19 19 20 $(GCC_DIR)/.unpacked: $(DL_DIR)/$(GCC_SOURCE) 21 mkdir -p $(TOOLCHAIN_BUILD_DIR) 22 $(GCC_CAT) $(DL_DIR)/$(GCC_SOURCE) | (cd $(TOOLCHAIN_BUILD_DIR); $(TAR_EXTRACT) ) 20 $(GCC_DIR)/.unpacked: $(DL_DIR)/$(SOURCE) 21 ${EXTRACT_CMD} 23 22 touch $@ 24 23 … … 99 98 # We do another ugly hack here because the standard behaviour is 100 99 # to include a reference to libgcc.so.1 in all binaries. For flash space 101 # saving, we change the specs file to link in a static libgcc here. 100 # saving, we change the specs file to link in a static libgcc here. 102 101 if [ -f $(STAGING_DIR)/lib/gcc/$(REAL_GNU_TARGET_NAME)/$(GCC_VERSION)/specs ] ; then \ 103 102 patch -d $(STAGING_DIR)/lib/gcc/$(REAL_GNU_TARGET_NAME)/$(GCC_VERSION)/ -p0 < ./$(GCC_VERSION)/static-libgcc.patch.conditional ; \ 104 103 fi; 105 104 106 source: $(DL_DIR)/$( GCC_SOURCE)105 source: $(DL_DIR)/$(SOURCE) 107 106 prepare: $(STAGING_DIR)/bin/$(REAL_GNU_TARGET_NAME)-gcc 108 107 compile: gcc-install
Note:
See TracChangeset
for help on using the changeset viewer.
