diff options
author | Federico Sauter <federico.sauter@ableton.com> | 2018-12-05 14:22:32 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-12-08 17:17:01 +0000 |
commit | 6aef6271e1053939d9a34811000bc0b74e7acf0c (patch) | |
tree | ad014f8e4c4c357d3c6e6359351005f5c0a027f2 /meta/classes | |
parent | 559fe1a4d4fe89924dc42a571c91d32095529740 (diff) | |
download | poky-6aef6271e1053939d9a34811000bc0b74e7acf0c.tar.gz |
kernel: don't assign the build user/host
The KBUILD_BUILD_USER and KBUILD_BUILD_HOST variables were
assigned at the kernel class level, which made it impossible
to override them in the local configuration.
By setting only the default values of those variables in the
kernel class, it is now possible to override them as expected.
(From OE-Core rev: a3e8cdf9c3ba966fa4b5a21235540eb0b00fb487)
Signed-off-by: Federico Sauter <federico.sauter@ableton.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, 2 insertions, 2 deletions
diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass index 880c5ef172..2e4ed8d3af 100644 --- a/meta/classes/kernel.bbclass +++ b/meta/classes/kernel.bbclass | |||
@@ -157,8 +157,8 @@ PACKAGES_DYNAMIC += "^${KERNEL_PACKAGE_NAME}-firmware-.*" | |||
157 | export OS = "${TARGET_OS}" | 157 | export OS = "${TARGET_OS}" |
158 | export CROSS_COMPILE = "${TARGET_PREFIX}" | 158 | export CROSS_COMPILE = "${TARGET_PREFIX}" |
159 | export KBUILD_BUILD_VERSION = "1" | 159 | export KBUILD_BUILD_VERSION = "1" |
160 | export KBUILD_BUILD_USER = "oe-user" | 160 | export KBUILD_BUILD_USER ?= "oe-user" |
161 | export KBUILD_BUILD_HOST = "oe-host" | 161 | export KBUILD_BUILD_HOST ?= "oe-host" |
162 | 162 | ||
163 | KERNEL_RELEASE ?= "${KERNEL_VERSION}" | 163 | KERNEL_RELEASE ?= "${KERNEL_VERSION}" |
164 | 164 | ||