Re: [PATCH] Minor cross-compile issues
From: Pratik Solanki
Date: Tue Feb 17 2004 - 11:38:10 EST
On 02/16/2004 03:58 PM, Sam Ravnborg wrote:
On Mon, Feb 09, 2004 at 11:39:47AM -0500, Pratik Solanki wrote:
Attached are 2 patches
asm-boot.patch - Fixes include path for build.c so that it finds
asm/boot.h. /usr/include/asm/boot.h may not be present when
cross-compiling on a non-Linux machine.
OK - but see minor comemnt.
shell.patch - Use $(CONFIG_SHELL) instead of sh.
OK
Sam
===== arch/i386/boot/Makefile 1.28 vs edited =====
--- 1.28/arch/i386/boot/Makefile Thu Sep 11 06:01:23 2003
+++ edited/arch/i386/boot/Makefile Thu Feb 5 15:56:28 2004
@@ -31,6 +31,8 @@
host-progs := tools/build
+HOSTCFLAGS_build.o := -I$(TOPDIR)/include
Do not use absolute paths here.
+HOSTCFLAGS_build.o := -Iinclude
Is the preferred way to do it.
Thanks Sam. Would you be checking in your proposed change or should I
send a new patch?
Pratik.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/