]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
coreutils: Disable uname patch which adds x86 ASM code for ARM.
authorMichael Tremer <michael.tremer@ipfire.org>
Fri, 2 Sep 2011 14:02:23 +0000 (14:02 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Fri, 2 Sep 2011 14:02:23 +0000 (14:02 +0000)
lfs/coreutils

index 4f3d56e922722221615b61f9eeaded8c607d11ee..eb709a86b364933ad00efe6ccacfbfd66f06edc4 100644 (file)
@@ -85,7 +85,9 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar jxf $(DIR_DL)/$(DL_FILE)
        cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/coreutils-5.96-rename-tee.patch
 ifeq "$(ROOT)" ""
+ifeq "$(MACHINE)" "i586"
        cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/$(THISAPP)-uname-1.patch
+endif
        cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/$(THISAPP)-suppress_uptime_kill_su-1.patch
        cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/$(THISAPP)-i18n-1.patch
        cd $(DIR_APP) && chmod +x tests/sort/sort-mb-tests