X-Git-Url: http://git.ipfire.org/?p=ipfire-2.x.git;a=blobdiff_plain;f=lfs%2Fcoreutils;h=71282333a6cba26c8070fa2bc13953c66a4d4df4;hp=5e97941d2e0f3f416e0fb388548acf629f671d2f;hb=3529923589dbf8824543920f27fc901fcbab67c4;hpb=1092a072fe30ed11535b0f2b2e29b8b0b9fdf541 diff --git a/lfs/coreutils b/lfs/coreutils index 5e97941d2e..71282333a6 100644 --- a/lfs/coreutils +++ b/lfs/coreutils @@ -40,11 +40,13 @@ ifeq "$(ROOT)" "" EXTRA_INSTALL = else TARGET = $(DIR_INFO)/$(THISAPP)-tools - EXTRA_CONFIG = --prefix=/tools --disable-nls --host=$(MACHINE) + EXTRA_CONFIG = --prefix=/tools --disable-nls EXTRA_MAKE = EXTRA_INSTALL = endif +EXTRA_CONFIG += --build=$(BUILDTARGET) + ############################################################################### # Top-level Rules ############################################################################### @@ -113,8 +115,8 @@ else rm /tools/bin/hostname mv -f /tools/bin/uname /tools/bin/uname.bak echo '#!/bin/bash' > /tools/bin/uname - echo 'kernel=`/tools/uname.bak -r`' >> /bin/uname - echo '/tools/uname.bak $$* | sed 's/i.86/$(MACHINE)/g' | sed "s/$$kernel/2.6.32.45-ipfire/g"' >> /bin/uname + echo 'kernel=`/tools/bin/uname.bak -r`' >> /tools/bin/uname + echo '/tools/bin/uname.bak $$* | sed 's/i.86/$(MACHINE)/g' | sed "s/$$kernel/2.6.32.45-ipfire/g"' >> /tools/bin/uname chmod 755 /tools/bin/uname endif @rm -rf $(DIR_APP)