summaryrefslogtreecommitdiff
path: root/Makefile.top
diff options
context:
space:
mode:
authorBjoern Michaelsen <bjoern.michaelsen@canonical.com>2012-12-04 16:36:59 +0100
committerBjoern Michaelsen <bjoern.michaelsen@canonical.com>2012-12-04 16:40:34 +0100
commit3b9483e397c91902a3d7ccc8fbc551ff335ff65c (patch)
treeec82a8b16d933cc14fc2aee691cfef4e04a4d353 /Makefile.top
parent878ecbaf8985be0517fdbb2785b3864fbc9afcf6 (diff)
make 'make tail_build' work again from the toplevel
also: - tail_build.all - tail_build.build - tail_build.check
Diffstat (limited to 'Makefile.top')
-rw-r--r--Makefile.top4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile.top b/Makefile.top
index a5f73aecf01e..4f445cb63b08 100644
--- a/Makefile.top
+++ b/Makefile.top
@@ -29,7 +29,7 @@ endif
# by the module being mentioned in packimages/prj/build.lst, etc, recursively.
$(WORKDIR)/modules.mk: $(wildcard */Module_*.mk) $(wildcard */prj/dmake) $(SRCDIR)/config_host.mk
mkdir -p $(dir $@)
- echo -n "gbuild_modules:= " > $@
+ echo -n "gbuild_modules:= tail_build \\" > $@
for m in */Module_*.mk; do echo $$m | sed -e 's/\/.*$$/ \\/'; done >> $@
echo >> $@
echo -n "dmake_modules:= " >> $@
@@ -49,7 +49,7 @@ $(1): bootstrap fetch
cd $(1) && $(GNUMAKE) -j $(PARALLELISM) $(GMAKE_OPTIONS) gb_PARTIALBUILD=T
$(1).all: bootstrap fetch
- $$(if $$(filter $(1),$$(shell $(GNUMAKE) -r -f $(SRCDIR)/tail_build/Makefile showmodules)), \
+ $$(if $$(filter $(1),$$(shell $(GNUMAKE) -r -f $(SRCDIR)/tail_build/Makefile showmodules) tail_build), \
cd tail_build && unset MAKEFLAGS && \
export gb_TAILBUILDTARGET="$(WORKDIR)/Module/$(1) $(WORKDIR)/Module/check/$(1) $(WORKDIR)/Module/slowcheck/$(1)" && \
, \