diff options
author | Felix Fietkau <nbd@openwrt.org> | 2007-07-30 18:22:01 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2007-07-30 18:22:01 +0000 |
commit | 7f5129c7d9f7ea764df5ec43216590531c7c5f32 (patch) | |
tree | 5569019c40b6d11d6ded7321899f99020a2ec4eb /scripts | |
parent | b01e9a83ff52319c0130070eb8e7995810dcefb6 (diff) | |
download | upstream-7f5129c7d9f7ea764df5ec43216590531c7c5f32.tar.gz upstream-7f5129c7d9f7ea764df5ec43216590531c7c5f32.tar.bz2 upstream-7f5129c7d9f7ea764df5ec43216590531c7c5f32.zip |
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-x | scripts/metadata.pl | 6 |
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 } |