summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUlf Samuelsson <ulf.samuelsson@atmel.com>2007-09-17 12:40:42 +0000
committerUlf Samuelsson <ulf.samuelsson@atmel.com>2007-09-17 12:40:42 +0000
commitc8240ca3bf097bda04af57accd49530d096405ff (patch)
tree5bc57c7a408155405d5df1668338103299573517
parente4c6340a949f64e6fc0294a1e41cf05dbaa82df9 (diff)
downloadbuildroot-novena-c8240ca3bf097bda04af57accd49530d096405ff.tar.gz
buildroot-novena-c8240ca3bf097bda04af57accd49530d096405ff.zip
make source should include BASE_TARGETS
-rw-r--r--Makefile12
1 files changed, 11 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 5414644d3..d191e69d3 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: