* [PATCH 0/1] linux-libc-headers-yocto: disable device tree generation
@ 2011-02-14 21:42 Bruce Ashfield
2011-02-14 21:42 ` [PATCH 1/1] " Bruce Ashfield
2011-02-15 19:26 ` [PATCH 0/1] " Richard Purdie
0 siblings, 2 replies; 3+ messages in thread
From: Bruce Ashfield @ 2011-02-14 21:42 UTC (permalink / raw)
To: rpurdie; +Cc: yocto, poky, saul.wold
Richard/Saul,
This fixed the error picked up overnight where the libc-headers
fails because there is no dtb to install.
Note: this could have been fixed by factoring out the include
of linux-dtb.inc into the individual recipes rather than by
modifying the libc-headers rule to set the KERNEL_DEVICETREE
to nothing. But the libc-headers is the exception and most
any other recipe that includes linux-yocto.inc needs this
enabled, so I opted to leave the includes as they were.
Pull URL: git://git.pokylinux.org/poky-contrib.git
Branch: zedd/kernel
Browse: http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=zedd/kernel
Thanks,
Bruce Ashfield <bruce.ashfield@windriver.com>
---
Bruce Ashfield (1):
linux-libc-headers-yocto: disable device tree generation
.../linux-libc-headers-yocto_git.bb | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH 1/1] linux-libc-headers-yocto: disable device tree generation
2011-02-14 21:42 [PATCH 0/1] linux-libc-headers-yocto: disable device tree generation Bruce Ashfield
@ 2011-02-14 21:42 ` Bruce Ashfield
2011-02-15 19:26 ` [PATCH 0/1] " Richard Purdie
1 sibling, 0 replies; 3+ messages in thread
From: Bruce Ashfield @ 2011-02-14 21:42 UTC (permalink / raw)
To: rpurdie; +Cc: yocto, poky, saul.wold
Fixes [BUGID #719]
The common routines for handling a git based yocto kernel
are included from the lib headers recipe to checkout the
appropriate branch of the kernel for header generation.
linux-yocto.inc includes device tree installation rules
which typically apply to a kernel user of the include file,
but do not apply to a simple header generation. The fix is
to override the DTB variables in this recipe, which disable
the device tree installation rules.
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
---
| 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
--git a/meta/recipes-kernel/linux-libc-headers/linux-libc-headers-yocto_git.bb b/meta/recipes-kernel/linux-libc-headers/linux-libc-headers-yocto_git.bb
index 0d58354..736d60f 100644
--- a/meta/recipes-kernel/linux-libc-headers/linux-libc-headers-yocto_git.bb
+++ b/meta/recipes-kernel/linux-libc-headers/linux-libc-headers-yocto_git.bb
@@ -12,6 +12,10 @@ PR = "r2"
SRCREV_FORMAT = "meta_machine"
SRC_URI = "git://git.pokylinux.org/linux-yocto-2.6.37;protocol=git;nocheckout=1;branch=${KBRANCH},meta;name=machine,meta"
+# force this to empty to prevent installation failures, we aren't
+# building a device tree as part of kern headers
+KERNEL_DEVICETREE=
+
set_arch() {
case ${TARGET_ARCH} in
arm*) ARCH=arm ;;
--
1.7.0.4
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH 0/1] linux-libc-headers-yocto: disable device tree generation
2011-02-14 21:42 [PATCH 0/1] linux-libc-headers-yocto: disable device tree generation Bruce Ashfield
2011-02-14 21:42 ` [PATCH 1/1] " Bruce Ashfield
@ 2011-02-15 19:26 ` Richard Purdie
1 sibling, 0 replies; 3+ messages in thread
From: Richard Purdie @ 2011-02-15 19:26 UTC (permalink / raw)
To: Bruce Ashfield; +Cc: yocto, poky, saul.wold
On Mon, 2011-02-14 at 16:42 -0500, Bruce Ashfield wrote:
> Richard/Saul,
>
> This fixed the error picked up overnight where the libc-headers
> fails because there is no dtb to install.
>
> Note: this could have been fixed by factoring out the include
> of linux-dtb.inc into the individual recipes rather than by
> modifying the libc-headers rule to set the KERNEL_DEVICETREE
> to nothing. But the libc-headers is the exception and most
> any other recipe that includes linux-yocto.inc needs this
> enabled, so I opted to leave the includes as they were.
>
> Pull URL: git://git.pokylinux.org/poky-contrib.git
> Branch: zedd/kernel
> Browse: http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=zedd/kernel
>
> Thanks,
> Bruce Ashfield <bruce.ashfield@windriver.com>
Merged to master, thanks.
Richard
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2011-02-15 19:26 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-02-14 21:42 [PATCH 0/1] linux-libc-headers-yocto: disable device tree generation Bruce Ashfield
2011-02-14 21:42 ` [PATCH 1/1] " Bruce Ashfield
2011-02-15 19:26 ` [PATCH 0/1] " Richard Purdie
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.