aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2010-09-01 17:51:36 +0000
committerFelix Fietkau <nbd@openwrt.org>2010-09-01 17:51:36 +0000
commit00d1e599d753602c18f34d9642574d70b97e607d (patch)
tree8e81bd68be8fbbb35642d243211ede63a864ee10 /scripts
parentea70b60a072edab2da2ae77e91c21f233c548eff (diff)
downloadupstream-00d1e599d753602c18f34d9642574d70b97e607d.tar.gz
upstream-00d1e599d753602c18f34d9642574d70b97e607d.tar.bz2
upstream-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-xscripts/metadata.pl3
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
}
}