Force main to always be included
authorEric Andersen <andersen@codepoet.org>
Tue, 6 Nov 2001 18:45:56 +0000 (18:45 -0000)
committerEric Andersen <andersen@codepoet.org>
Tue, 6 Nov 2001 18:45:56 +0000 (18:45 -0000)
Makefile

index b60b6a4..7dbf657 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -211,7 +211,7 @@ $(patsubst %, _dir_%, $(SUBDIRS)) : dummy include/config/MARKER
        $(MAKE) CFLAGS="$(CFLAGS)" -C $(patsubst _dir_%, %, $@)
 
 busybox: config.h depend bbsubdirs
-       $(CC) $(LDFLAGS) -o $@ $(shell find $(SUBDIRS) -name \*.a) $(LIBCONFIG_LIB) $(LIBRARIES)
+       $(CC) $(LDFLAGS) -o $@ applets/busybox.o $(shell find $(SUBDIRS) -name \*.a) $(LIBCONFIG_LIB) $(LIBRARIES)
        $(STRIPCMD)
 
 busybox.links: applets/busybox.mkll