summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 5a62cb0..3408770 100644
--- a/Makefile
+++ b/Makefile
@@ -268,10 +268,12 @@ CFLAGS += $(CFLAGS_EXTRA)
.EXPORT_ALL_VARIABLES:
-all: applet_source_list busybox busybox.links doc
+all: sh_link applet_source_list busybox busybox.links doc
+
+sh_link:
+ @if [ ! -L sh.c ] ; then ln -s lash.c sh.c ; fi
applet_source_list: busybox.sh Config.h
- if [ ! -L sh.c ] ; then ln -s lash.c sh.c ; fi
(echo -n "APPLET_SOURCES := "; $(SHELL) $^ $(BB_SRC_DIR)) > $@
doc: olddoc