diff options
Diffstat (limited to 'recipes/native/native-kernel.bb')
-rw-r--r-- | recipes/native/native-kernel.bb | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/recipes/native/native-kernel.bb b/recipes/native/native-kernel.bb new file mode 100644 index 0000000000..d85cdbb3ff --- /dev/null +++ b/recipes/native/native-kernel.bb @@ -0,0 +1,13 @@ +SECTION = "base" +COMPATIBLE_HOST = "${BUILD_SYS}" + +PROVIDES = "virtual/kernel" + +do_stage() { + install -d ${STAGING_KERNEL_DIR}/include/ + install -m 0755 ${includedir}/linux/wireless.h ${STAGING_KERNEL_DIR}/include/wireless.h + echo `uname -r` >${STAGING_KERNEL_DIR}/kernel-abiversion + echo /usr/src/linux >${STAGING_KERNEL_DIR}/kernel-source + echo >${STAGING_KERNEL_DIR}/kernel-ccsuffix + echo >${STAGING_KERNEL_DIR}/kernel-ldsuffix +} |