summaryrefslogtreecommitdiffstats
path: root/meta/classes/kernel.bbclass
diff options
context:
space:
mode:
authorFederico Sauter <federico.sauter@ableton.com>2018-12-05 14:22:32 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-02-06 16:38:30 +0000
commit91c93503fde2781792507b321e40552be4d78b9b (patch)
tree5e1a50fbd98472d3196283f95323afbce0f2146b /meta/classes/kernel.bbclass
parenteab307542c3cb382ce7e0f4c35a5b5d0b6d48c17 (diff)
downloadpoky-91c93503fde2781792507b321e40552be4d78b9b.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) (From OE-Core rev: 694d62ece58ba996a63a7089bbeb445efe922419) Signed-off-by: Federico Sauter <federico.sauter@ableton.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/kernel.bbclass')
-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-.*"
157export OS = "${TARGET_OS}" 157export OS = "${TARGET_OS}"
158export CROSS_COMPILE = "${TARGET_PREFIX}" 158export CROSS_COMPILE = "${TARGET_PREFIX}"
159export KBUILD_BUILD_VERSION = "1" 159export KBUILD_BUILD_VERSION = "1"
160export KBUILD_BUILD_USER = "oe-user" 160export KBUILD_BUILD_USER ?= "oe-user"
161export KBUILD_BUILD_HOST = "oe-host" 161export KBUILD_BUILD_HOST ?= "oe-host"
162 162
163KERNEL_RELEASE ?= "${KERNEL_VERSION}" 163KERNEL_RELEASE ?= "${KERNEL_VERSION}"
164 164