From 00d1e599d753602c18f34d9642574d70b97e607d Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Wed, 1 Sep 2010 17:51:36 +0000 Subject: add a command for printing a cleaned up make target database - will be used to analyze package dependencies at some point SVN-Revision: 22871 --- toolchain/Makefile | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'toolchain/Makefile') diff --git a/toolchain/Makefile b/toolchain/Makefile index 3d8ba4c4ba..7c96c85e29 100644 --- a/toolchain/Makefile +++ b/toolchain/Makefile @@ -51,6 +51,7 @@ ifdef CONFIG_GCC_VERSION_LLVM $(curdir)/gcc/minimal/compile += $(curdir)/llvm/install endif +ifndef DUMP_TARGET_DB ifneq ($(ARCH),) $(TOOLCHAIN_DIR)/info.mk: .config @for dir in $(TOOLCHAIN_DIR); do ( \ @@ -62,6 +63,7 @@ ifneq ($(ARCH),) @grep GCC_VERSION $@ >/dev/null 2>&1 || $(INSTALL_DATA) $(TOPDIR)/toolchain/info.mk $@ @touch $@ endif +endif # prerequisites for the individual targets $(curdir)/ := .config prereq @@ -69,7 +71,9 @@ $(curdir)//prepare = $(STAGING_DIR)/.prepared $(TOOLCHAIN_DIR)/info.mk $(curdir)//compile = $(1)/prepare $(curdir)//install = $(1)/compile +ifndef DUMP_TARGET_DB $(TOOLCHAIN_DIR)/stamp/.gcc-initial_installed: +endif $(eval $(call stampfile,$(curdir),toolchain,install,$(TOOLCHAIN_DIR)/stamp/.gcc-initial_installed,,$(TOOLCHAIN_DIR))) $(eval $(call subdir,$(curdir))) -- cgit v1.2.3