From e0f49d2ae40ee7c5e6a804264845b89595e1b06c Mon Sep 17 00:00:00 2001 From: Bruce Ashfield Date: Mon, 14 Feb 2011 14:07:38 -0500 Subject: 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 --- .../recipes-kernel/linux-libc-headers/linux-libc-headers-yocto_git.bb | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'meta/recipes-kernel/linux-libc-headers') 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 ;; -- cgit v1.2.3-54-g00ecf