Messages in this thread | | | Date | Mon, 16 Feb 2004 21:58:00 +0100 | From | Sam Ravnborg <> | Subject | Re: [PATCH] Minor cross-compile issues |
| |
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.
Sam - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |