Changeset 8e4e7a3 in freewrt for toolchain/gcc/Makefile


Ignore:
Timestamp:
Jul 16, 2006, 5:11:43 PM (19 years ago)
Author:
Thorsten Glaser <tg@…>
Branches:
freewrt_1_0, freewrt_2_0
Children:
c6ac237
Parents:
807b7c3
Message:

use ${EXTRACT_CMD}

to be tested RSN

git-svn-id: svn://www.freewrt.org/trunk/freewrt@202 afb5a338-a214-0410-bd46-81f09a774fd1

File:
1 edited

Legend:

Unmodified
Added
Removed
  • toolchain/gcc/Makefile

    r807b7c3 r8e4e7a3  
    22
    33include $(TOPDIR)/rules.mk
     4include ../rules.mk
    45
    56GCC_VERSION:=3.4.4
    67GCC_SITE:=ftp://ftp.fu-berlin.de/unix/languages/gcc/releases/gcc-$(GCC_VERSION) \
    78          http://mirrors.rcn.net/pub/sourceware/gcc/releases/gcc-$(GCC_VERSION)
    8 GCC_SOURCE:=gcc-$(GCC_VERSION).tar.bz2
     9SOURCE:=gcc-$(GCC_VERSION).tar.bz2
    910GCC_DIR:=$(TOOLCHAIN_BUILD_DIR)/gcc-$(GCC_VERSION)
    10 GCC_CAT:=bzcat
    1111
    1212TARGET_LANGUAGES:=c,c++
     
    1414GCC_BUILD_DIR1:=$(TOOLCHAIN_BUILD_DIR)/gcc-$(GCC_VERSION)-initial
    1515
    16 $(DL_DIR)/$(GCC_SOURCE):
     16$(DL_DIR)/$(SOURCE):
    1717        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)
    1919
    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}
    2322        touch $@
    2423
     
    9998# We do another ugly hack here because the standard behaviour is
    10099# 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.
    102101        if [ -f $(STAGING_DIR)/lib/gcc/$(REAL_GNU_TARGET_NAME)/$(GCC_VERSION)/specs ] ; then \
    103102                patch -d $(STAGING_DIR)/lib/gcc/$(REAL_GNU_TARGET_NAME)/$(GCC_VERSION)/ -p0 < ./$(GCC_VERSION)/static-libgcc.patch.conditional ; \
    104103        fi;
    105104
    106 source: $(DL_DIR)/$(GCC_SOURCE)
     105source: $(DL_DIR)/$(SOURCE)
    107106prepare: $(STAGING_DIR)/bin/$(REAL_GNU_TARGET_NAME)-gcc
    108107compile: gcc-install
Note: See TracChangeset for help on using the changeset viewer.