summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/recipes-core/busybox/busybox.inc7
1 files changed, 7 insertions, 0 deletions
diff --git a/meta/recipes-core/busybox/busybox.inc b/meta/recipes-core/busybox/busybox.inc
index b8edd3942c..735b1f6881 100644
--- a/meta/recipes-core/busybox/busybox.inc
+++ b/meta/recipes-core/busybox/busybox.inc
@@ -102,6 +102,9 @@ python () {
102} 102}
103 103
104do_prepare_config () { 104do_prepare_config () {
105 if [ "$BUILD_REPRODUCIBLE_BINARIES" = "1" ]; then
106 export KCONFIG_NOTIMESTAMP=1
107 fi
105 sed -e '/CONFIG_STATIC/d' \ 108 sed -e '/CONFIG_STATIC/d' \
106 < ${WORKDIR}/defconfig > ${S}/.config 109 < ${WORKDIR}/defconfig > ${S}/.config
107 echo "# CONFIG_STATIC is not set" >> .config 110 echo "# CONFIG_STATIC is not set" >> .config
@@ -118,6 +121,7 @@ do_prepare_config () {
118 ${S}/.config.oe-tmp > ${S}/.config 121 ${S}/.config.oe-tmp > ${S}/.config
119 fi 122 fi
120 sed -i 's/CONFIG_IFUPDOWN_UDHCPC_CMD_OPTIONS="-R -n"/CONFIG_IFUPDOWN_UDHCPC_CMD_OPTIONS="-R -b"/' ${S}/.config 123 sed -i 's/CONFIG_IFUPDOWN_UDHCPC_CMD_OPTIONS="-R -n"/CONFIG_IFUPDOWN_UDHCPC_CMD_OPTIONS="-R -b"/' ${S}/.config
124 sed -i 's|${DEBUG_PREFIX_MAP}||g' ${S}/.config
121} 125}
122 126
123# returns all the elements from the src uri that are .cfg files 127# returns all the elements from the src uri that are .cfg files
@@ -138,6 +142,9 @@ do_configure () {
138 142
139do_compile() { 143do_compile() {
140 unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS 144 unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS
145 if [ "$BUILD_REPRODUCIBLE_BINARIES" = "1" ]; then
146 export KCONFIG_NOTIMESTAMP=1
147 fi
141 if [ "${BUSYBOX_SPLIT_SUID}" = "1" -a x`grep "CONFIG_FEATURE_INDIVIDUAL=y" .config` = x ]; then 148 if [ "${BUSYBOX_SPLIT_SUID}" = "1" -a x`grep "CONFIG_FEATURE_INDIVIDUAL=y" .config` = x ]; then
142 # split the .config into two parts, and make two busybox binaries 149 # split the .config into two parts, and make two busybox binaries
143 if [ -e .config.orig ]; then 150 if [ -e .config.orig ]; then