summaryrefslogtreecommitdiffstats
path: root/meta/classes/kernel.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes/kernel.bbclass')
-rw-r--r--meta/classes/kernel.bbclass16
1 files changed, 1 insertions, 15 deletions
diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass
index d459569677..e2a582b9e9 100644
--- a/meta/classes/kernel.bbclass
+++ b/meta/classes/kernel.bbclass
@@ -1,7 +1,7 @@
1inherit linux-kernel-base module_strip 1inherit linux-kernel-base module_strip
2 2
3PROVIDES += "virtual/kernel" 3PROVIDES += "virtual/kernel"
4DEPENDS += "virtual/${TARGET_PREFIX}gcc kmod-native virtual/${TARGET_PREFIX}gcc${KERNEL_CCSUFFIX}" 4DEPENDS += "virtual/${TARGET_PREFIX}gcc kmod-native"
5 5
6# we include gcc above, we dont need virtual/libc 6# we include gcc above, we dont need virtual/libc
7INHIBIT_DEFAULT_DEPS = "1" 7INHIBIT_DEFAULT_DEPS = "1"
@@ -37,20 +37,6 @@ KERNEL_PRIORITY ?= "${@int(d.getVar('PV',1).split('-')[0].split('+')[0].split('.
37 37
38KERNEL_RELEASE ?= "${KERNEL_VERSION}" 38KERNEL_RELEASE ?= "${KERNEL_VERSION}"
39 39
40KERNEL_CCSUFFIX ?= ""
41KERNEL_LDSUFFIX ?= ""
42
43# Set TARGET_??_KERNEL_ARCH in the machine .conf to set architecture
44# specific options necessary for building the kernel and modules.
45#FIXME: should be this: TARGET_CC_KERNEL_ARCH ?= "${TARGET_CC_ARCH}"
46TARGET_CC_KERNEL_ARCH ?= ""
47HOST_CC_KERNEL_ARCH ?= "${TARGET_CC_KERNEL_ARCH}"
48TARGET_LD_KERNEL_ARCH ?= ""
49HOST_LD_KERNEL_ARCH ?= "${TARGET_LD_KERNEL_ARCH}"
50
51KERNEL_CC = "${CCACHE}${HOST_PREFIX}gcc${KERNEL_CCSUFFIX} ${HOST_CC_KERNEL_ARCH}${TOOLCHAIN_OPTIONS}"
52KERNEL_LD = "${HOST_PREFIX}ld${KERNEL_LDSUFFIX} ${HOST_LD_KERNEL_ARCH}${TOOLCHAIN_OPTIONS}"
53
54# Where built kernel lies in the kernel tree 40# Where built kernel lies in the kernel tree
55KERNEL_OUTPUT ?= "arch/${ARCH}/boot/${KERNEL_IMAGETYPE}" 41KERNEL_OUTPUT ?= "arch/${ARCH}/boot/${KERNEL_IMAGETYPE}"
56KERNEL_IMAGEDEST = "boot" 42KERNEL_IMAGEDEST = "boot"