Age | Commit message (Collapse) | Author |
|
Old-style kernel headers got removed almost 2 years ago, so get rid of
the seperate kernel-headers-new.makefile file and move the content
to the main kernel-headers.mk.
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
|
|
This is needed when custom/snapshot kernel headers are selected.
Buildroot expects to find dl/linux-2.6.tar.bz2 and also expects
it to extract to output/toolchain/linux-2.6, but if you tar
custom kernel sources directory can be anything, etc. linux-git.
In that case buildroot would extract it to output/toolchain/linux-git.
So fix this behaviour, by using tar strip-directory/component.
Signed-off-by: Paulius Zaleckas <paulius.zaleckas@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
|
|
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
|
|
And remove the -rt support we had for that version.
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
|
|
Closes #751.
Make kernel headers snapshot more user friendly by making it more obvious
that it's about using a local kernel snapshot, and error out with a sensible
error message if the option is enabled but no linux-2.6.tar.bz2 is present
in DL_DIR, rather than trying to fetch it from kernel.org.
Furthermore fix the bug where it tried to use linux-2.6..tar.bz2 instead of
linux-2.6.tar.bz2.
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
|
|
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>
|
|
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
|
|
Get rid of BR2_KERNEL_HEADERS_PATCH_DIR config, and simply always apply
platform patches if available.
|
|
|
|
|
|
|
|
|
|
Patch by Hinko Kocevar <hinko.kocevar@cetrtapot.si>
|
|
|
|
|
|
|
|
Based on patch by Nigel Kukard.
|
|
|
|
|
|
|
|
accomodate powerpc64
|
|
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...
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
headers into the generic part
|
|
toolchain_build_. Saves quite some disk-space on the compile-host.
- Avoid overriding the linux26 target's rules if the kernel headers's and the target's kernel are the same. Avoids a warning.
|
|
|
|
|
|
|