mirror of
https://github.com/sheumann/hush.git
synced 2024-08-20 04:28:57 +00:00
- remove explicit dependency of busybox.o and applets.o and usage.h from the
Makefile. Instead fix the invocation of bb_mkdep.
This commit is contained in:
parent
c06e80e1e7
commit
14b1c1da9a
2
Makefile
2
Makefile
@ -275,7 +275,7 @@ depend dep $(top_builddir)/.depend: .depend
|
||||
.depend: scripts/bb_mkdep $(DEP_INCLUDES)
|
||||
@rm -f .depend
|
||||
@mkdir -p include/config
|
||||
scripts/bb_mkdep -c include/config.h -c include/bb_config.h $(top_srcdir)/ > $@.tmp
|
||||
scripts/bb_mkdep -c include/config.h -c include/bb_config.h -I $(top_srcdir)/include $(top_srcdir)/ > $@.tmp
|
||||
mv $@.tmp $@
|
||||
|
||||
include/config.h: .config
|
||||
|
@ -18,7 +18,7 @@ libraries-y+=$(APPLETS_DIR)$(APPLETS_AR)
|
||||
$(APPLETS_DIR)$(APPLETS_AR): $(APPLET_OBJ)
|
||||
$(AR) $(ARFLAGS) $@ $(APPLET_OBJ)
|
||||
|
||||
$(APPLET_OBJ): $(top_builddir)/.config $(top_srcdir)/include/usage.h
|
||||
$(APPLET_OBJ): $(top_builddir)/.config
|
||||
$(APPLET_OBJ): $(APPLETS_DIR)%.o: $(srcdir)/%.c
|
||||
$(CC) $(CFLAGS) $(EXTRA_CFLAGS) -c -o $@ $<
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user