summaryrefslogtreecommitdiffstats
path: root/meta/classes
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:32:08 +0100
commit5444abaaca31c9e4bafd29deb28e97c616526d23 (patch)
tree5aeea04b39a244cff9c290671e13942c5ee1f719 /meta/classes
parenta53a9ddbdd4a04dc06de169553fcb82cd871c0cb (diff)
downloadpoky-5444abaaca31c9e4bafd29deb28e97c616526d23.tar.gz
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. (From OE-Core rev: eb9f900527e02ca08a1de14b4ac773f513bb1ee4) 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')
-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 = ""
121 121
122KERNEL_ALT_IMAGETYPE ??= "" 122KERNEL_ALT_IMAGETYPE ??= ""
123 123
124# Define where the kernel headers are installed on the target as well as where
125# they are staged.
126KERNEL_SRC_PATH = "/usr/src/kernel"
127
128copy_initramfs() { 124copy_initramfs() {
129 echo "Copying initramfs into ./usr ..." 125 echo "Copying initramfs into ./usr ..."
130 # In case the directory is not created yet from the first pass compile: 126 # In case the directory is not created yet from the first pass compile: