add a command for printing a cleaned up make target database - will be used to analyz...
[openwrt.git] / scripts / metadata.pl
index 7902dec..a9242d0 100755 (executable)
@@ -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
        }
 }
This page took 0.041996 seconds and 4 git commands to generate.