summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 338e3a4..5e63636 100644
--- a/Makefile
+++ b/Makefile
@@ -192,7 +192,8 @@ scripts/mkdep: $(top_srcdir)/scripts/mkdep.c
scripts/split-include: $(top_srcdir)/scripts/split-include.c
$(HOSTCC) $(HOSTCFLAGS) -o $@ $<
-.depend: scripts/mkdep include/config.h
+depend dep: .depend
+.depend: scripts/mkdep include/config.h include/bbconfigopts.h
rm -f .depend .hdepend;
mkdir -p include/config;
scripts/mkdep -I include -- \
@@ -200,8 +201,6 @@ scripts/split-include: $(top_srcdir)/scripts/split-include.c
scripts/mkdep -I include -- \
`find $(top_srcdir) -name \*.h -print | sed -e "s,^./,,"` >> .hdepend;
-depend dep: .depend include/bbconfigopts.h
-
include/config/MARKER: depend scripts/split-include
scripts/split-include include/config.h include/config
@ touch include/config/MARKER