diff options
author | Felix Fietkau <nbd@openwrt.org> | 2010-09-01 17:51:36 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2010-09-01 17:51:36 +0000 |
commit | 00d1e599d753602c18f34d9642574d70b97e607d (patch) | |
tree | 8e81bd68be8fbbb35642d243211ede63a864ee10 /scripts | |
parent | ea70b60a072edab2da2ae77e91c21f233c548eff (diff) | |
download | openwrt-00d1e599d753602c18f34d9642574d70b97e607d.tar.gz openwrt-00d1e599d753602c18f34d9642574d70b97e607d.tar.bz2 openwrt-00d1e599d753602c18f34d9642574d70b97e607d.zip |
add a command for printing a cleaned up make target database - will be used to analyze package dependencies at some point
SVN-Revision: 22871
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/metadata.pl | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/metadata.pl b/scripts/metadata.pl index 7902dec3ef..a9242d0a7f 100755 --- a/scripts/metadata.pl +++ b/scripts/metadata.pl @@ -763,6 +763,7 @@ sub gen_package_mk() { next unless $cmds; print <<EOF +ifndef DUMP_TARGET_DB \$(TARGET_DIR)/etc/uci-defaults/$preconfig: FORCE ( \\ $cmds \\ @@ -771,6 +772,8 @@ $cmds \\ ifneq (\$(IMAGEOPT)\$(CONFIG_IMAGEOPT),) package/preconfig: \$(TARGET_DIR)/etc/uci-defaults/$preconfig endif +endif + EOF } } |