[oe-commits] [openembedded-core] 30/68: kernel: don't assign the build user/host

git at git.openembedded.org git at git.openembedded.org
Mon Jan 28 17:07:29 UTC 2019


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch thud-next
in repository openembedded-core.

commit 694d62ece58ba996a63a7089bbeb445efe922419
Author: Federico Sauter <federico.sauter at ableton.com>
AuthorDate: Wed Dec 5 14:22:32 2018 +0000

    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 at ableton.com>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
    Signed-off-by: Armin Kuster <akuster808 at gmail.com>
---
 meta/classes/kernel.bbclass | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass
index 880c5ef..2e4ed8d 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}"
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list