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>
This commit is contained in:
Bruce Ashfield 2011-02-14 14:07:38 -05:00 committed by Richard Purdie
parent a824232c44
commit e0f49d2ae4
1 changed files with 4 additions and 0 deletions

View File

@ -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 ;;