aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
author"Vladimir N. Oleynik" <dzo@simtreas.ru>2005-09-21 07:49:34 +0000
committer"Vladimir N. Oleynik" <dzo@simtreas.ru>2005-09-21 07:49:34 +0000
commitcef737f03817d8e5fafcc48e7ffda479e0e25f87 (patch)
treeb8bac0a344e294c9604f08f87faa39a2c26f7134 /Makefile
parentc5280e8885a44c7874d6260302be62fcd534b7a0 (diff)
downloadbusybox-w32-cef737f03817d8e5fafcc48e7ffda479e0e25f87.tar.gz
busybox-w32-cef737f03817d8e5fafcc48e7ffda479e0e25f87.tar.bz2
busybox-w32-cef737f03817d8e5fafcc48e7ffda479e0e25f87.zip
moved include/bbconfigopts.h from miscutils to to top Makefile before generate .depend. Remove allyesconfig build problem, noticed by Bernhard Fischer
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile11
1 files changed, 10 insertions, 1 deletions
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
184 $(HOSTCC) $(HOSTCFLAGS) -o $@ $< 184 $(HOSTCC) $(HOSTCFLAGS) -o $@ $<
185 185
186depend dep: .depend 186depend dep: .depend
187.depend: scripts/bb_mkdep include/config.h include/bb_config.h 187
188DEP_INCLUDES=include/config.h include/bb_config.h
189ifeq ($(strip $(CONFIG_BBCONFIG)),y)
190DEP_INCLUDES += include/bbconfigopts.h
191
192include/bbconfigopts.h: .config
193 scripts/config/mkconfigs > $@
194endif
195
196.depend: scripts/bb_mkdep $(DEP_INCLUDES)
188 @rm -f .depend 197 @rm -f .depend
189 @mkdir -p include/config 198 @mkdir -p include/config
190 scripts/bb_mkdep -c include/config.h -c include/bb_config.h > $@ 199 scripts/bb_mkdep -c include/config.h -c include/bb_config.h > $@