summaryrefslogtreecommitdiff
path: root/packages/native/native-kernel.bb
diff options
context:
space:
mode:
Diffstat (limited to 'packages/native/native-kernel.bb')
-rw-r--r--packages/native/native-kernel.bb13
1 files changed, 13 insertions, 0 deletions
diff --git a/packages/native/native-kernel.bb b/packages/native/native-kernel.bb
index e69de29bb2..d85cdbb3ff 100644
--- a/packages/native/native-kernel.bb
+++ b/packages/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
+}