[Buildroot] svn commit: trunk/buildroot/toolchain/kernel-headers
Bernhard Fischer
rep.nop at aon.at
Mon Oct 9 15:43:28 UTC 2006
On Mon, Oct 09, 2006 at 05:14:26PM +0200, Bernhard Fischer wrote:
>On Mon, Oct 09, 2006 at 04:29:54PM +0200, Fredrik Roubert wrote:
>>On Mon 09 Oct 13:41 CEST 2006, aldot at uclibc.org wrote:
>>
>>> + $(MAKE) INSTALL_HDR_PATH=$(LINUX_HEADERS_DIR) headers_install)
>>
>>Unless ARCH is set, the wrong asm header files will be used. The
>>attached patch fixes that.
>
>ARCH is always set, see package/Makefile.in
>Whatis ARCH for you without your patch? Could be an ordering issue
>between {toolchain,package}/Makefile.in.
We cannot use ARCH there at any rate. We'd be better off to introduce
a case statement to normalize e.g. i?86->i386 etc. The kernel doesn't
grok an arch of let's say i586, which is embarrassing.
>
>>
>>Cheers // Fredrik Roubert
>>
>>--
>>Visserij 192 | +32 473 344527 / +46 708 776974
>>BE-9000 Gent | http://www.df.lth.se/~roubert/
>
>>diff -ur buildroot-20061006-16345/toolchain/kernel-headers/kernel-headers.mk buildroot/toolchain/kernel-headers/kernel-headers.mk
>>--- buildroot-20061006-16345/toolchain/kernel-headers/kernel-headers.mk 2006-10-09 15:29:15.000000000 +0200
>>+++ buildroot/toolchain/kernel-headers/kernel-headers.mk 2006-10-09 15:28:06.000000000 +0200
>>@@ -133,7 +133,7 @@
>>
>> $(LINUX_HEADERS_DIR)/.configured: $(LINUX_HEADERS_UNPACK_DIR)/.patched
>> (cd $(LINUX_HEADERS_UNPACK_DIR) ; \
>>- $(MAKE) INSTALL_HDR_PATH=$(LINUX_HEADERS_DIR) headers_install)
>>+ $(MAKE) ARCH=$(ARCH) INSTALL_HDR_PATH=$(LINUX_HEADERS_DIR) headers_install)
>> touch $(LINUX_HEADERS_DIR)/.configured
>> else
>> # the sanitized kernel-headers
>
>
>
>
>>_______________________________________________
>>buildroot mailing list
>>buildroot at uclibc.org
>>http://busybox.net/mailman/listinfo/buildroot
>_______________________________________________
>buildroot mailing list
>buildroot at uclibc.org
>http://busybox.net/mailman/listinfo/buildroot
>
More information about the buildroot
mailing list