mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-28 11:43:25 +02:00
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:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user