summaryrefslogtreecommitdiffstats
path: root/meta/conf/bitbake.conf
diff options
context:
space:
mode:
authorDarren Hart <dvhart@linux.intel.com>2012-06-22 17:44:10 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-07-04 17:40:33 +0100
commit68a8caa738caa25f313a0bccfd8179cc5584afa5 (patch)
tree61e879746eb9da9b17eadc49845f8f192f430547 /meta/conf/bitbake.conf
parenta0bbbdfdc8b67b80b0a207da3b8ad511c7f5aa7a (diff)
downloadpoky-68a8caa738caa25f313a0bccfd8179cc5584afa5.tar.gz
kernel: Add kernel headers to kernel-dev package
[YOCTO #1614] Add the kernel headers to the kernel-dev package. This packages what was already built and kept in sysroots for building modules with bitbake. Making this available on the target requires removing some additional host binaries. Move the location to /usr/src/kernel Before use on the target, the user will need to: # cd /usr/src/kernel # make scripts This renders the kernel-misc recipe empty, so remove it. As we use /usr/src/kernel in several places (and I missed one in the previous version), add a KERNEL_SRC_DIR variable and use that throughout the class to avoid update errors in the future. Now that we package the kernel headers, drop the kernel_package_preprocess function which removed them from PKGD. All *-sdk image recipes include dev-pkgs, so the kernel-dev package will be installed by default on all such images. (From OE-Core rev: 6125ea40d4483965f793bd847b3ce14b668a5b1e) Signed-off-by: Darren Hart <dvhart@linux.intel.com> CC: Bruce Ashfield <bruce.ashfield@windriver.com> CC: Tom Zanussi <tom.zanussi@intel.com> CC: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/conf/bitbake.conf')
-rw-r--r--meta/conf/bitbake.conf2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf
index 744f4dfda8..050be2e76c 100644
--- a/meta/conf/bitbake.conf
+++ b/meta/conf/bitbake.conf
@@ -380,7 +380,7 @@ SDKPATHNATIVE = "${SDKPATH}/sysroots/${SDK_SYS}"
380################################################################## 380##################################################################
381 381
382OLDEST_KERNEL = "2.6.16" 382OLDEST_KERNEL = "2.6.16"
383STAGING_KERNEL_DIR = "${STAGING_DIR_HOST}/kernel" 383STAGING_KERNEL_DIR = "${STAGING_DIR_HOST}/usr/src/kernel"
384 384
385################################################################## 385##################################################################
386# Specific image creation and rootfs population info. 386# Specific image creation and rootfs population info.