summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorBruce Ashfield <bruce.ashfield@windriver.com>2011-02-14 14:07:38 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-02-15 19:23:59 +0000
commite0f49d2ae40ee7c5e6a804264845b89595e1b06c (patch)
tree9010e6add529c74c4100a4352b21cdaf77938f16 /meta
parenta824232c445162c6a6870c4c869b8ec60d8eb445 (diff)
downloadpoky-e0f49d2ae40ee7c5e6a804264845b89595e1b06c.tar.gz
linux-libc-headers-yocto: disable device tree generation
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>
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-kernel/linux-libc-headers/linux-libc-headers-yocto_git.bb4
1 files changed, 4 insertions, 0 deletions
diff --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 0d5835401e..736d60f7de 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"
12SRCREV_FORMAT = "meta_machine" 12SRCREV_FORMAT = "meta_machine"
13SRC_URI = "git://git.pokylinux.org/linux-yocto-2.6.37;protocol=git;nocheckout=1;branch=${KBRANCH},meta;name=machine,meta" 13SRC_URI = "git://git.pokylinux.org/linux-yocto-2.6.37;protocol=git;nocheckout=1;branch=${KBRANCH},meta;name=machine,meta"
14 14
15# force this to empty to prevent installation failures, we aren't
16# building a device tree as part of kern headers
17KERNEL_DEVICETREE=
18
15set_arch() { 19set_arch() {
16 case ${TARGET_ARCH} in 20 case ${TARGET_ARCH} in
17 arm*) ARCH=arm ;; 21 arm*) ARCH=arm ;;