fix cross compile on x86_64
PATCH 1/1 fix cross compile on x86_64
make all fails while building a helper app:
arch/x86_64/boot/tools/build.c:36:22: asm/boot.h: No such file or directory
Possible that make O=$foo did never work on x86_64.
This patch fixes it for me.
arch/x86_64/boot/Makefile +1 -0
@@ -31,6 +31,7 @@ targets := vmlinux.bin bootsect bootsec EXTRA_CFLAGS := -m32 hostprogs-y := tools/build +HOST_EXTRACFLAGS += $(LINUXINCLUDE) subdir- := compressed/ #Let make clean descend in compressed/ # ---------------------------------------------------------------------------
Signature · 3 lines
USB is for mice, FireWire is for men! sUse lINUX ag, nÜRNBERG
Quoted 6 lines · Olaf Hering
make all fails while building a helper app:
arch/x86_64/boot/tools/build.c:36:22:asm/boot.h: No such file or directoryPossible that make O=$foo did never work on
x86_64.
It works just fine with make bzImage and make. I'm not sure what "make all" is good for though.
Quoted 2 lines
This patch fixes it for me.
Thanks.
-Andi