To reflect the new output directory hierachy rename the Makefile variable
TOOL_BUILD_DIR to TOOLCHAIN_DIR.
Signed-off-by: Michael Roth <mroth@nessie.de>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Split build of kernel headers and kernel image into two source trees.
Kernel headers are built in $(TOOL_BUILD_DIR)
Kernel build is in $(PROJECT_BUILD_DIR)
Make sure that kernel patches are applied to the kernel tree in
$(PROJECT_BUILD_DIR)
Add board specific patches, if available.
Add linux-2.6.22.1-008-atmel-gpio_mouse-setup-for-atstk1000-board.patch
Move AT91 kernel patches to target/device/Atmel/arch-arm
Change name from "target/device/Atmel/Linux" to "target/device/Atmel/linux"
"kernel-headers" will apply all patches in $(LINUX26_KERNEL_PATCH_DIR)
if this is available.
Define LINUX26_KERNEL_PATCH_DIR in target/device/Atmel/Makefile.in
as above "arch-arm/kernel-patches-..." if an AT91 or
as above "arch-avr32/kernel-patches-..." if an AVR32 target is selected
Test build done for arm,avr32 and x86
They will be applied ONLY if BR2_KERNEL_HEADERS_LZMA is set.
BR2_KERNEL_HEADERS_LZMA defaults to NO, so the user
has to actively set this config flag if lzma is needed.
This means that the default behaviour of buildroot will work
for most users.
Comment from author:
[Brad House]
I find myself having to remove the lzma patches because my build system
doesn't natively have lzma. I tried to compensate for this by
installing the latest lzma from gentoo's package tree, and apparently,
it accepts different flags than the one these patches expect, so my
kernel build still fails. Finally, I used the lzma from this buildroot
and compiled it by hand, and it _mostly_ worked. Regardless, it seems
silly to make this a requirement. Personally, I gzip my initramfs,
and that's enough compression for me...