* [Buildroot] kernel header patches
@ 2010-08-02 8:01 Patrick Ziegler
2010-08-06 11:42 ` Ossy
0 siblings, 1 reply; 3+ messages in thread
From: Patrick Ziegler @ 2010-08-02 8:01 UTC (permalink / raw)
To: buildroot
Hi,
I'm working on different boards support to match our requirements.
Therefore I need to apply some patches to the kernel headers as well as
the kernel sources itself. Especially for header patches related to a
specific device I'm not sure how to enable them in the configuration.
In the Atmel device directory the variable KERNEL_HEADERS_PATCH_DIR will
be used to define a directory including some patches. But the 'ifeq'
check fails in 'kernel-headers-new.makefile'. In the previous version
(2010.05) it was possible to replace this check by a check on the shell.
But this will also fail with the new version (2010.08-rc1).
Is there an official way to apply patches to the kernel headers and
kernel sources depending on the board ?
Best regards
Patrick
--
Dipl.-Inf. (FH) Patrick Ziegler
University Of Applied Sciences
Kaiserslautern
Amerikastrasse 1
D-66482 Zweibruecken
Germany
Phone: +49 6332 914 526
Mail: patrick.ziegler at fh-kl.de
http://www.fh-kl.de
http://www.fh-kl.de/fachbereiche/imst/iuk-knowhow.html
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Buildroot] kernel header patches
2010-08-02 8:01 [Buildroot] kernel header patches Patrick Ziegler
@ 2010-08-06 11:42 ` Ossy
2010-08-09 7:16 ` Patrick Ziegler
0 siblings, 1 reply; 3+ messages in thread
From: Ossy @ 2010-08-06 11:42 UTC (permalink / raw)
To: buildroot
Am 02.08.2010 10:01, schrieb Patrick Ziegler:
>
> Is there an official way to apply patches to the kernel headers and
> kernel sources depending on the board ?
>
For my Board I need to apply some minor patches to the kernel. My
configuration looks like this:
Location of patches in project tree:
target/device/sheevaplug/SeagateDockStar/kernel-patches/
-> linux-2.6.34-0001-ABC.patch
-> linux-2.6.34-0002-XYZ.patch
-> DONOTUSENOW-linux-2.6.34-0002-XYZTesting.patch
.config includes:
BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y
BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="target/device/sheevaplug/SeagateDockStar/SeagateDockStar-linux-2.6.34.1.config"
BR2_LINUX_KERNEL_PATCH="target/device/sheevaplug/SeagateDockStar/kernel-patches/"
The patches were correctly applied during kernel compilation via buildroot.
Regards,
Marcus
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Buildroot] kernel header patches
2010-08-06 11:42 ` Ossy
@ 2010-08-09 7:16 ` Patrick Ziegler
0 siblings, 0 replies; 3+ messages in thread
From: Patrick Ziegler @ 2010-08-09 7:16 UTC (permalink / raw)
To: buildroot
Ossy schrieb:
> Am 02.08.2010 10:01, schrieb Patrick Ziegler:
>>
>> Is there an official way to apply patches to the kernel headers and
>> kernel sources depending on the board ?
>>
> For my Board I need to apply some minor patches to the kernel. My
> configuration looks like this:
>
> Location of patches in project tree:
> target/device/sheevaplug/SeagateDockStar/kernel-patches/
> -> linux-2.6.34-0001-ABC.patch
> -> linux-2.6.34-0002-XYZ.patch
> -> DONOTUSENOW-linux-2.6.34-0002-XYZTesting.patch
>
> .config includes:
> BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y
> BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="target/device/sheevaplug/SeagateDockStar/SeagateDockStar-linux-2.6.34.1.config"
>
> BR2_LINUX_KERNEL_PATCH="target/device/sheevaplug/SeagateDockStar/kernel-patches/"
>
>
> The patches were correctly applied during kernel compilation via
> buildroot.
Thanks, but unfortunately this works only for the kernel compilation not
for the kernel headers.
--
Dipl.-Inf. (FH) Patrick Ziegler
University Of Applied Sciences
Kaiserslautern
Amerikastrasse 1
D-66482 Zweibruecken
Germany
Phone: +49 6332 914 526
Mail: patrick.ziegler at fh-kl.de
http://www.fh-kl.de
http://www.fh-kl.de/fachbereiche/imst/iuk-knowhow.html
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2010-08-09 7:16 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-08-02 8:01 [Buildroot] kernel header patches Patrick Ziegler
2010-08-06 11:42 ` Ossy
2010-08-09 7:16 ` Patrick Ziegler
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox