summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core
diff options
context:
space:
mode:
authorJuro Bystricky <juro.bystricky@intel.com>2018-03-10 10:56:25 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-03-12 15:06:32 -0700
commit98e852983cf58e3004a88bcfb20430289f679140 (patch)
treeae9df8f01ee99b6bd4733b4c14ef594b167248be /meta/recipes-core
parent5350ee317740751f2417c1794dd39d3880347dbf (diff)
downloadpoky-98e852983cf58e3004a88bcfb20430289f679140.tar.gz
classes/recipes: Use expanded BUILD_REPRODUCIBLE_BINARIES value
Replace the occurences of BUILD_REPRODUCIBLE_BINARIES with expanded values ${BUILD_REPRODUCIBLE_BINARIES} so the variable does not need to be exported. (From OE-Core rev: 27f87bbc8395a2481ef808465a62d213a6b678ac) Signed-off-by: Juro Bystricky <juro.bystricky@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core')
-rw-r--r--meta/recipes-core/busybox/busybox.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/recipes-core/busybox/busybox.inc b/meta/recipes-core/busybox/busybox.inc
index ac6d7ca262..d1675c37aa 100644
--- a/meta/recipes-core/busybox/busybox.inc
+++ b/meta/recipes-core/busybox/busybox.inc
@@ -106,7 +106,7 @@ python () {
106} 106}
107 107
108do_prepare_config () { 108do_prepare_config () {
109 if [ "$BUILD_REPRODUCIBLE_BINARIES" = "1" ]; then 109 if [ "${BUILD_REPRODUCIBLE_BINARIES}" = "1" ]; then
110 export KCONFIG_NOTIMESTAMP=1 110 export KCONFIG_NOTIMESTAMP=1
111 fi 111 fi
112 sed -e '/CONFIG_STATIC/d' \ 112 sed -e '/CONFIG_STATIC/d' \
@@ -146,7 +146,7 @@ do_configure () {
146 146
147do_compile() { 147do_compile() {
148 unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS 148 unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS
149 if [ "$BUILD_REPRODUCIBLE_BINARIES" = "1" ]; then 149 if [ "${BUILD_REPRODUCIBLE_BINARIES}" = "1" ]; then
150 export KCONFIG_NOTIMESTAMP=1 150 export KCONFIG_NOTIMESTAMP=1
151 fi 151 fi
152 if [ "${BUSYBOX_SPLIT_SUID}" = "1" -a x`grep "CONFIG_FEATURE_INDIVIDUAL=y" .config` = x ]; then 152 if [ "${BUSYBOX_SPLIT_SUID}" = "1" -a x`grep "CONFIG_FEATURE_INDIVIDUAL=y" .config` = x ]; then