From 4a5fdf935722e22673732f8883bb45290681e082 Mon Sep 17 00:00:00 2001 From: Koen Kooi Date: Fri, 14 May 2010 18:34:33 +0200 Subject: linux.inc: add protptype for 'kernel-headers' package --- recipes/linux/linux.inc | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'recipes') diff --git a/recipes/linux/linux.inc b/recipes/linux/linux.inc index 6513db2d25..a92cdd3092 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} -- cgit v1.2.3