aboutsummaryrefslogtreecommitdiff
path: root/recipes/native/native-kernel.bb
blob: d85cdbb3ff66ff7d772ff048fcf542bf2ec41af8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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
}