From: Bruce Ashfield Date: Mon, 14 Feb 2011 19:07:38 +0000 (-0500) Subject: linux-libc-headers-yocto: disable device tree generation X-Git-Tag: 2011-1~2352 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=e0f49d2ae40ee7c5e6a804264845b89595e1b06c;p=openembedded-core.git 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 --- 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" 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 ;;