diff options
Diffstat (limited to 'meta/conf/bitbake.conf')
-rw-r--r-- | meta/conf/bitbake.conf | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf index 9c72044d8d..2b86442b1d 100644 --- a/meta/conf/bitbake.conf +++ b/meta/conf/bitbake.conf | |||
@@ -81,8 +81,10 @@ ROOT_HOME ??= "/home/root" | |||
81 | # Architecture-dependent build variables. | 81 | # Architecture-dependent build variables. |
82 | ################################################################## | 82 | ################################################################## |
83 | 83 | ||
84 | BUILD_ARCH = "${@os.uname()[4]}" | 84 | # Immediate expansion since there is no point in reapeatedly calling |
85 | BUILD_OS = "${@os.uname()[0].lower()}" | 85 | # os.uname() throughout parsing |
86 | BUILD_ARCH := "${@os.uname()[4]}" | ||
87 | BUILD_OS := "${@os.uname()[0].lower()}" | ||
86 | BUILD_VENDOR = "" | 88 | BUILD_VENDOR = "" |
87 | BUILD_SYS = "${BUILD_ARCH}${BUILD_VENDOR}-${BUILD_OS}" | 89 | BUILD_SYS = "${BUILD_ARCH}${BUILD_VENDOR}-${BUILD_OS}" |
88 | BUILD_PREFIX = "" | 90 | BUILD_PREFIX = "" |