summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-07-30 18:22:01 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-07-30 18:22:01 +0000
commitaf927159a9e65228875999840012a1cde1c36b6a (patch)
tree5569019c40b6d11d6ded7321899f99020a2ec4eb /scripts
parent3cd9eea04e166dc36dd0ecd4c1ebdf92ed76f8f2 (diff)
next round of build system cleanup - convert package/ to new structure
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8236 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/metadata.pl6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/metadata.pl b/scripts/metadata.pl
index 6ed128aae2..16a120a7ae 100755
--- a/scripts/metadata.pl
+++ b/scripts/metadata.pl
@@ -576,12 +576,12 @@ sub gen_package_mk() {
undef $idx if $idx =~ /^(kernel)|(base-files)$/;
if ($idx) {
next if $dep{$pkg->{src}."->".$idx};
- $depline .= " $idx\-compile";
+ $depline .= " \$(curdir)/$idx/compile";
$dep{$pkg->{src}."->".$idx} = 1;
}
}
if ($depline) {
- $line .= $pkg->{subdir}."$pkg->{src}-compile: $depline\n";
+ $line .= "\$(curdir)/".$pkg->{subdir}."$pkg->{src}/compile := $depline\n";
}
}
@@ -604,7 +604,7 @@ $cmds \\
) > \$@
ifneq (\$(UCI_PRECONFIG)\$(CONFIG_UCI_PRECONFIG),)
- preconfig: \$(TARGET_DIR)/etc/uci-defaults/$preconfig
+ package/preconfig: \$(TARGET_DIR)/etc/uci-defaults/$preconfig
endif
EOF
}