From cef737f03817d8e5fafcc48e7ffda479e0e25f87 Mon Sep 17 00:00:00 2001 From: "\"Vladimir N. Oleynik\"" Date: Wed, 21 Sep 2005 07:49:34 +0000 Subject: moved include/bbconfigopts.h from miscutils to to top Makefile before generate .depend. Remove allyesconfig build problem, noticed by Bernhard Fischer --- Makefile | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index ac6095143..b3f998200 100644 --- a/Makefile +++ b/Makefile @@ -184,7 +184,16 @@ scripts/bb_mkdep: $(top_srcdir)/scripts/bb_mkdep.c $(HOSTCC) $(HOSTCFLAGS) -o $@ $< depend dep: .depend -.depend: scripts/bb_mkdep include/config.h include/bb_config.h + +DEP_INCLUDES=include/config.h include/bb_config.h +ifeq ($(strip $(CONFIG_BBCONFIG)),y) +DEP_INCLUDES += include/bbconfigopts.h + +include/bbconfigopts.h: .config + scripts/config/mkconfigs > $@ +endif + +.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 > $@ -- cgit v1.2.3