From c8240ca3bf097bda04af57accd49530d096405ff Mon Sep 17 00:00:00 2001 From: Ulf Samuelsson Date: Mon, 17 Sep 2007 12:40:42 +0000 Subject: [PATCH] make source should include BASE_TARGETS --- Makefile | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 5414644d37..d191e69d3c 100644 --- a/Makefile +++ b/Makefile @@ -217,6 +217,7 @@ TARGETS+=erase-fakeroots TARGETS_CLEAN:=$(patsubst %,%-clean,$(TARGETS)) TARGETS_SOURCE:=$(patsubst %,%-source,$(TARGETS)) +BASE_TARGETS_SOURCE:=$(patsubst %,%-source,$(BASE_TARGETS)) TARGETS_DIRCLEAN:=$(patsubst %,%-dirclean,$(TARGETS)) TARGETS_ALL:=$(patsubst %,__real_tgt_%,$(TARGETS)) # all targets depend on the crosscompiler and it's prerequisites @@ -283,7 +284,7 @@ $(TARGET_DIR): $(PROJECT_BUILD_DIR)/.root erase-fakeroots: rm -f $(PROJECT_BUILD_DIR)/.fakeroot* -source: $(TARGETS_SOURCE) $(HOST_SOURCE) +source: $(BASE_TARGETS_SOURCE) $(TARGETS_SOURCE) $(HOST_SOURCE) _source-check: $(MAKE) SPIDER=--spider source @@ -429,3 +430,12 @@ help: .PHONY: dummy subdirs release distclean clean config oldconfig \ menuconfig tags check test depend defconfig help + + +dbg: + echo BASE_TARGETS_SOURCE=$(BASE_TARGETS_SOURCE) + echo BASE_TARGETS=$(BASE_TARGETS) + echo TARGETS_SOURCE=$(TARGETS_SOURCE) + echo TARGETS=$(TARGETS) + +bsource: -- 2.30.2