]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
Fix ccache in toolchain was build only with host gcc/binutils
authorArne Fitzenreiter <arne_f@ipfire.org>
Fri, 25 Sep 2009 08:14:12 +0000 (10:14 +0200)
committerArne Fitzenreiter <arne_f@ipfire.org>
Fri, 25 Sep 2009 08:14:12 +0000 (10:14 +0200)
lfs/ccache
make.sh

index ca1cbb7a3c84a86bc8578084bf501a23b7317581..78fbad00bf8925f2e89fab1d92cf0235b8fcb081 100644 (file)
@@ -32,7 +32,7 @@ THISAPP    = $(PKG_NAME)-$(PKG_VER)
 DL_FILE    = $(THISAPP).tar.gz
 DIR_APP    = $(DIR_SRC)/$(THISAPP)
 
-OBJECT     = $(DIR_INFO)/$(STAGE_ORDER)_$(STAGE)/$(THISAPP)
+OBJECT     = $(DIR_INFO)/$(STAGE_ORDER)_$(STAGE)/$(THISAPP)-pass$(PASS)
 
 MAINTAINER =
 GROUP      = Development/Compilers
diff --git a/make.sh b/make.sh
index 810db2d37e679b9feef4d9a1a464883a5cd1856e..8ec8af2eb51989007ec8e80a981e4f478a043613 100755 (executable)
--- a/make.sh
+++ b/make.sh
@@ -52,7 +52,7 @@ toolchain_build() {
        icecc_disable
 
        toolchain_make stage1
-       toolchain_make ccache
+       toolchain_make ccache           PASS=1
        toolchain_make binutils         PASS=1
        toolchain_make gcc              PASS=1
        toolchain_make linux-headers
@@ -75,6 +75,7 @@ toolchain_build() {
        toolchain_make icecc
        icecc_enable
        icecc_use toolchain             # Use the fresh gcc
+       toolchain_make ccache           PASS=2
        toolchain_make file
        toolchain_make findutils
        toolchain_make gawk