aboutsummaryrefslogtreecommitdiffstats
path: root/meta/classes/kernel.bbclass
diff options
context:
space:
mode:
authorMing Liu <peter.x.liu@external.atlascopco.com>2016-05-19 13:05:50 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-05-19 22:31:35 +0100
commiteb9f900527e02ca08a1de14b4ac773f513bb1ee4 (patch)
treef4b7cd5988dbaeaa788c6000d641986a019d51f6 /meta/classes/kernel.bbclass
parent5cb1e0ec46e4fde1c15aeb6812eaaece4840ac1c (diff)
downloadopenembedded-core-contrib-eb9f900527e02ca08a1de14b4ac773f513bb1ee4.tar.gz
openembedded-core-contrib-eb9f900527e02ca08a1de14b4ac773f513bb1ee4.tar.bz2
openembedded-core-contrib-eb9f900527e02ca08a1de14b4ac773f513bb1ee4.zip
kernel: moves KERNEL_SRC_PATH to bitbake.conf
"/usr/src/kernel" is being hard-coded in multiple recipes so far, move its definition to bitbake.conf. Signed-off-by: Ming Liu <peter.x.liu@external.atlascopco.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/kernel.bbclass')
-rw-r--r--meta/classes/kernel.bbclass4
1 files changed, 0 insertions, 4 deletions
diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass
index 6e3e81e936..963f327dd6 100644
--- a/meta/classes/kernel.bbclass
+++ b/meta/classes/kernel.bbclass
@@ -121,10 +121,6 @@ EXTRA_OEMAKE = ""
KERNEL_ALT_IMAGETYPE ??= ""
-# Define where the kernel headers are installed on the target as well as where
-# they are staged.
-KERNEL_SRC_PATH = "/usr/src/kernel"
-
copy_initramfs() {
echo "Copying initramfs into ./usr ..."
# In case the directory is not created yet from the first pass compile: