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/conf | |
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/conf')
-rw-r--r-- | meta/conf/bitbake.conf | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf index 382dadca6d..8a84e53c1b 100644 --- a/meta/conf/bitbake.conf +++ b/meta/conf/bitbake.conf | |||
@@ -407,6 +407,10 @@ OLDEST_KERNEL = "3.2.0" | |||
407 | OLDEST_KERNEL_aarch64 = "3.14" | 407 | OLDEST_KERNEL_aarch64 = "3.14" |
408 | OLDEST_KERNEL_nios2 = "3.19" | 408 | OLDEST_KERNEL_nios2 = "3.19" |
409 | 409 | ||
410 | # Define where the kernel headers are installed on the target as well as where | ||
411 | # they are staged. | ||
412 | KERNEL_SRC_PATH = "/usr/src/kernel" | ||
413 | |||
410 | STAGING_KERNEL_DIR = "${TMPDIR}/work-shared/${MACHINE}/kernel-source" | 414 | STAGING_KERNEL_DIR = "${TMPDIR}/work-shared/${MACHINE}/kernel-source" |
411 | STAGING_KERNEL_BUILDDIR = "${TMPDIR}/work-shared/${MACHINE}/kernel-build-artifacts" | 415 | STAGING_KERNEL_BUILDDIR = "${TMPDIR}/work-shared/${MACHINE}/kernel-build-artifacts" |
412 | 416 | ||