summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBjoern Michaelsen <bjoern.michaelsen@canonical.com>2012-11-29 12:44:03 +0100
committerBjoern Michaelsen <bjoern.michaelsen@canonical.com>2012-11-29 12:44:03 +0100
commit55557d774ac72a9051b233ecbd201f9b4e14c247 (patch)
treef2a117dea9695e601d1edafb249ddbcd0b575418
parentaedac4f3827b82cf129a575cbf35c9737fab603a (diff)
rebuild modules.mk when modules change
-rw-r--r--Makefile.top2
1 files changed, 1 insertions, 1 deletions
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 >> $@