summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFederico Sauter <federico.sauter@ableton.com>2018-12-05 14:22:32 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-12-08 17:16:55 +0000
commita3e8cdf9c3ba966fa4b5a21235540eb0b00fb487 (patch)
tree9f2617c0a18e354b48f5f3dc53b5d68777cf4889
parent5feecb639d49d72d8a6abc589b937e07ee72f252 (diff)
downloadopenembedded-core-contrib-a3e8cdf9c3ba966fa4b5a21235540eb0b00fb487.tar.gz
openembedded-core-contrib-a3e8cdf9c3ba966fa4b5a21235540eb0b00fb487.tar.bz2
openembedded-core-contrib-a3e8cdf9c3ba966fa4b5a21235540eb0b00fb487.zip
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. Signed-off-by: Federico Sauter <federico.sauter@ableton.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/classes/kernel.bbclass4
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-.*"
export OS = "${TARGET_OS}"
export CROSS_COMPILE = "${TARGET_PREFIX}"
export KBUILD_BUILD_VERSION = "1"
-export KBUILD_BUILD_USER = "oe-user"
-export KBUILD_BUILD_HOST = "oe-host"
+export KBUILD_BUILD_USER ?= "oe-user"
+export KBUILD_BUILD_HOST ?= "oe-host"
KERNEL_RELEASE ?= "${KERNEL_VERSION}"