diff options
author | Juro Bystricky <juro.bystricky@intel.com> | 2018-03-10 10:56:25 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-03-12 15:05:35 -0700 |
commit | 27f87bbc8395a2481ef808465a62d213a6b678ac (patch) | |
tree | be3a73306df39aef0ebf9731a839fba954de8a16 /meta/recipes-core | |
parent | 0a1a1daac661046b0bf287b63267d58e0ab03e8e (diff) | |
download | openembedded-core-27f87bbc8395a2481ef808465a62d213a6b678ac.tar.gz openembedded-core-27f87bbc8395a2481ef808465a62d213a6b678ac.tar.bz2 openembedded-core-27f87bbc8395a2481ef808465a62d213a6b678ac.zip |
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.
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.inc | 4 |
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 () { } do_prepare_config () { - if [ "$BUILD_REPRODUCIBLE_BINARIES" = "1" ]; then + if [ "${BUILD_REPRODUCIBLE_BINARIES}" = "1" ]; then export KCONFIG_NOTIMESTAMP=1 fi sed -e '/CONFIG_STATIC/d' \ @@ -146,7 +146,7 @@ do_configure () { do_compile() { unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS - if [ "$BUILD_REPRODUCIBLE_BINARIES" = "1" ]; then + if [ "${BUILD_REPRODUCIBLE_BINARIES}" = "1" ]; then export KCONFIG_NOTIMESTAMP=1 fi if [ "${BUSYBOX_SPLIT_SUID}" = "1" -a x`grep "CONFIG_FEATURE_INDIVIDUAL=y" .config` = x ]; then |