[oe-commits] Koen Kooi : linux.inc: add protptype for 'kernel-headers' package
git version control
git at git.openembedded.org
Fri May 14 16:35:28 UTC 2010
Module: openembedded.git
Branch: org.openembedded.dev
Commit: 4a5fdf935722e22673732f8883bb45290681e082
URL: http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=4a5fdf935722e22673732f8883bb45290681e082
Author: Koen Kooi <koen at openembedded.org>
Date: Fri May 14 18:34:33 2010 +0200
linux.inc: add protptype for 'kernel-headers' package
---
recipes/linux/linux.inc | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/recipes/linux/linux.inc b/recipes/linux/linux.inc
index 6513db2..a92cdd3 100644
--- a/recipes/linux/linux.inc
+++ b/recipes/linux/linux.inc
@@ -190,6 +190,13 @@ do_configure_append() {
fi
}
+do_install_append() {
+ oe_runmake headers_install INSTALL_HDR_PATH=${D}${exec_prefix}/src/linux-${KERNEL_VERSION} ARCH=$ARCH
+}
+
+PACKAGES =+ "kernel-headers"
+FILES_kernel-headers = "${exec_prefix}/src/linux*"
+
do_devicetree_image() {
if test -n "${KERNEL_DEVICETREE}" ; then
dtc -I dts -O dtb ${KERNEL_DEVICETREE_FLAGS} -o devicetree ${KERNEL_DEVICETREE}
More information about the Openembedded-commits
mailing list