summaryrefslogtreecommitdiff
authorDenys Vlasenko <vda.linux@googlemail.com>2016-12-23 18:42:53 (GMT)
committer Denys Vlasenko <vda.linux@googlemail.com>2017-01-01 12:01:04 (GMT)
commitfe3f55c540ed21005ba5bd981e098cb5dec64c37 (patch)
tree55d94fa7b5d8eed59ab52d701f0978a13abfb9ca
parent28251dfa64a999c69605471863a2bb8692bfc7b3 (diff)
downloadbusybox-fe3f55c540ed21005ba5bd981e098cb5dec64c37.zip
busybox-fe3f55c540ed21005ba5bd981e098cb5dec64c37.tar.gz
busybox-fe3f55c540ed21005ba5bd981e098cb5dec64c37.tar.bz2
make_single_applets.sh: SH_IS_HUSH needs special handling too
Well, in fact it works (make oldconfig throws only a warning when it sees both SH_IS_HUSH=y and SH_IS_NONE=y), but let's be nice. Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat
-rwxr-xr-xmake_single_applets.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/make_single_applets.sh b/make_single_applets.sh
index 705f982..00f502e 100755
--- a/make_single_applets.sh
+++ b/make_single_applets.sh
@@ -39,11 +39,11 @@ for app in $apps; do
echo "CONFIG_${app}=y" >.config
echo "$allno" | sed "/^# CONFIG_${app} is not set\$/d" >>.config
- if test x"${app}" != x"SH_IS_ASH"; then
- # $allno has all choices for "sh" aliasing at off.
+ if test x"${app}" != x"SH_IS_ASH" && test x"${app}" != x"SH_IS_HUSH"; then
+ # $allno has all choices for "sh" aliasing set to off.
# "sh" aliasing defaults to "ash", not none.
# without this fix, "make oldconfig" sets it wrong,
- # resulting in NUM_APPLETS = 2
+ # resulting in NUM_APPLETS = 2 (the second applet is "sh")
sed '/CONFIG_SH_IS_NONE/d' -i .config
echo "CONFIG_SH_IS_NONE=y" >>.config
fi
@@ -52,7 +52,7 @@ for app in $apps; do
: $((fail++))
echo "Config error for ${app}"
mv .config busybox_config_${app}
- elif ! make $makeopts >busybox_make_${app}.log 2>&1; then
+ elif ! make $makeopts >>busybox_make_${app}.log 2>&1; then
: $((fail++))
echo "Build error for ${app}"
mv .config busybox_config_${app}