summaryrefslogtreecommitdiffstats
path: root/meta/conf/bitbake.conf
diff options
context:
space:
mode:
authorDarren Hart <dvhart@linux.intel.com>2012-08-28 08:41:46 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-09-28 16:53:09 +0100
commit91714ea8ae0c75b33cca0e8259e3410779129150 (patch)
treed73645fa9dc93683fa005faa600f2d56888576c4 /meta/conf/bitbake.conf
parentfbb459aab9f5000dc998a3acce2ad211c2229e5e (diff)
downloadpoky-91714ea8ae0c75b33cca0e8259e3410779129150.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: 0e3e88f9f87d1083ddd7dcaa526b3cd7a1cd53ff) 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 618780c1a1..85ba1088a4 100644
--- a/meta/conf/bitbake.conf
+++ b/meta/conf/bitbake.conf
@@ -376,7 +376,7 @@ SDKPATHNATIVE = "${SDKPATH}/sysroots/${SDK_SYS}"
376################################################################## 376##################################################################
377 377
378OLDEST_KERNEL = "2.6.16" 378OLDEST_KERNEL = "2.6.16"
379STAGING_KERNEL_DIR = "${STAGING_DIR_HOST}/kernel" 379STAGING_KERNEL_DIR = "${STAGING_DIR_HOST}/usr/src/kernel"
380 380
381################################################################## 381##################################################################
382# Specific image creation and rootfs population info. 382# Specific image creation and rootfs population info.