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/metadata.pl | |
parent | ea70b60a072edab2da2ae77e91c21f233c548eff (diff) | |
download | mtk-20170518-00d1e599d753602c18f34d9642574d70b97e607d.zip mtk-20170518-00d1e599d753602c18f34d9642574d70b97e607d.tar.gz mtk-20170518-00d1e599d753602c18f34d9642574d70b97e607d.tar.bz2 |
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/metadata.pl')
-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 7902dec..a9242d0 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 } } |