diff options
Diffstat (limited to 'extra')
-rw-r--r-- | extra/config/Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/extra/config/Makefile b/extra/config/Makefile index b377d43ef..6bd5bf65d 100644 --- a/extra/config/Makefile +++ b/extra/config/Makefile @@ -7,6 +7,10 @@ include $(top_builddir)Rules.mak include Makefile.kconfig +-include .depend +.depend: $(wildcard *.h *.c) + $(HOSTCC) $(HOST_EXTRACFLAGS) $(HOSTCFLAGS) -MM *.c > .depend 2>/dev/null || : + __hostprogs := $(sort $(hostprogs-y) $(hostprogs-m)) host-csingle := $(foreach m,$(__hostprogs),$(if $($(m)-objs),,$(m))) host-cmulti := $(foreach m,$(__hostprogs),\ |