From 55557d774ac72a9051b233ecbd201f9b4e14c247 Mon Sep 17 00:00:00 2001 From: Bjoern Michaelsen Date: Thu, 29 Nov 2012 12:44:03 +0100 Subject: rebuild modules.mk when modules change --- Makefile.top | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.top b/Makefile.top index a281f10555df..c479207749d3 100644 --- a/Makefile.top +++ b/Makefile.top @@ -27,7 +27,7 @@ endif # This list tells which modules are gbuild ones. It does *not* tell which modules to build. That is directed # by the module being mentioned in packimages/prj/build.lst, etc, recursively. -$(WORKDIR)/modules.mk: +$(WORKDIR)/modules.mk: $(wildcard */Module_*.mk) $(wildcard */prj/dmake) echo -n "gbuild_modules:=" > $@ for m in */Module_*.mk; do echo $$m | sed -e 's/\/.*$$/ \\/'; done >> $@ echo >> $@ -- cgit v1.2.3