diff options
Diffstat (limited to 'meta/recipes-core/busybox')
-rw-r--r-- | meta/recipes-core/busybox/busybox.inc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/recipes-core/busybox/busybox.inc b/meta/recipes-core/busybox/busybox.inc index 1f4a48c8cf..34f4e254f1 100644 --- a/meta/recipes-core/busybox/busybox.inc +++ b/meta/recipes-core/busybox/busybox.inc | |||
@@ -141,6 +141,10 @@ do_compile() { | |||
141 | unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS | 141 | unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS |
142 | if [ "${BUSYBOX_SPLIT_SUID}" = "1" -a x`grep "CONFIG_FEATURE_INDIVIDUAL=y" .config` = x ]; then | 142 | if [ "${BUSYBOX_SPLIT_SUID}" = "1" -a x`grep "CONFIG_FEATURE_INDIVIDUAL=y" .config` = x ]; then |
143 | # split the .config into two parts, and make two busybox binaries | 143 | # split the .config into two parts, and make two busybox binaries |
144 | if [ -e .config.orig ]; then | ||
145 | # Need to guard again an interrupted do_compile - restore any backup | ||
146 | cp .config.orig .config | ||
147 | fi | ||
144 | cp .config .config.orig | 148 | cp .config .config.orig |
145 | oe_runmake busybox.cfg.suid | 149 | oe_runmake busybox.cfg.suid |
146 | oe_runmake busybox.cfg.nosuid | 150 | oe_runmake busybox.cfg.nosuid |