diff options
author | Ming Liu <peter.x.liu@external.atlascopco.com> | 2016-05-19 13:05:50 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-05-19 22:32:08 +0100 |
commit | 5444abaaca31c9e4bafd29deb28e97c616526d23 (patch) | |
tree | 5aeea04b39a244cff9c290671e13942c5ee1f719 /meta/classes | |
parent | a53a9ddbdd4a04dc06de169553fcb82cd871c0cb (diff) | |
download | poky-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.bbclass | 4 |
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 | ||
122 | KERNEL_ALT_IMAGETYPE ??= "" | 122 | KERNEL_ALT_IMAGETYPE ??= "" |
123 | 123 | ||
124 | # Define where the kernel headers are installed on the target as well as where | ||
125 | # they are staged. | ||
126 | KERNEL_SRC_PATH = "/usr/src/kernel" | ||
127 | |||
128 | copy_initramfs() { | 124 | copy_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: |