Zwischencommit LFS - Stoppt bei Stage2 - Binutils.

git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@302 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
This commit is contained in:
ms
2006-10-02 20:48:09 +00:00
parent b4b6bcdbdf
commit e22c79733e
6 changed files with 23 additions and 16 deletions

View File

@@ -52,9 +52,7 @@ md5 :
$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
@$(PREBUILD)
ifeq "$(PASS)" "1"
cp -v /tools/bin/{ld,ld-old.bak}
mv -v /tools/bin/{ld,ld-old}
cp -v /tools/i686-pc-linux-gnu/bin/{ld,ld-old.bak}
mv -v /tools/i686-pc-linux-gnu/bin/{ld,ld-old}
cp -v /tools/bin/{ld-new,ld}
ln -sv /tools/bin/ld /tools/i686-pc-linux-gnu/bin/ld
@@ -66,11 +64,9 @@ ifeq "$(PASS)" "1"
rm -vf `grep -l "DO NOT EDIT THIS FILE" /tools/lib/gcc/i686-pc-linux-gnu/4.0.3/include/*`
endif
ifeq "$(PASS)" "2"
### I have to check if this really works
-strip --strip-debug /tools/lib/*
-strip --strip-unneeded /tools/{,s}bin/*
rm -rfv /tools/{info,man} /usr/local/man
cp -fv /tools/bin/{ld-old.bak,ld}
chown -R root:root /tools
endif
ifeq "$(PASS)" "3"