Make hush the default shell. Ensure the applets_list gets

the axe on a distclean.
This commit is contained in:
Eric Andersen 2001-05-30 19:09:40 +00:00
parent 86f0167e39
commit f12cc4ee68

View File

@ -273,7 +273,7 @@ CFLAGS += $(CFLAGS_EXTRA)
all: applet_source_list busybox busybox.links doc all: applet_source_list busybox busybox.links doc
sh.c: sh.c:
@if [ ! -L sh.c ] ; then ln -s lash.c sh.c ; fi @if [ ! -L sh.c ] ; then ln -s hush.c sh.c ; fi
applet_source_list: busybox.sh Config.h sh.c applet_source_list: busybox.sh Config.h sh.c
(echo -n "APPLET_SOURCES := "; BB_SRC_DIR=$(BB_SRC_DIR) $(SHELL) $^) > $@ (echo -n "APPLET_SOURCES := "; BB_SRC_DIR=$(BB_SRC_DIR) $(SHELL) $^) > $@
@ -397,7 +397,7 @@ clean:
- find -name \*.o -exec rm -f {} \; - find -name \*.o -exec rm -f {} \;
distclean: clean distclean: clean
- rm -f busybox - rm -f busybox applet_source_list
- cd tests && $(MAKE) distclean - cd tests && $(MAKE) distclean
install: install.sh busybox busybox.links install: install.sh busybox busybox.links