merge the scripts dealing with package/target metadata to remove some redundant code

SVN-Revision: 6088
This commit is contained in:
Felix Fietkau
2007-01-13 14:05:14 +00:00
parent 0e3a29c270
commit 06e88a80c7
6 changed files with 438 additions and 485 deletions

View File

@@ -82,10 +82,10 @@ tmpinfo-clean: FORCE
@-rm -rf tmp/.pkginfo tmp/.targetinfo
tmp/.config.in: tmp/.pkginfo
@./scripts/gen_package_config.pl < $< > $@ || rm -f $@
@./scripts/metadata.pl package_config < $< > $@ || rm -f $@
tmp/.config-target.in: tmp/.targetinfo
@./scripts/gen_target_config.pl < $< > $@ || rm -f $@
@./scripts/metadata.pl target_config < $< > $@ || rm -f $@
.config: ./scripts/config/conf tmp/.config.in tmp/.config-target.in
@[ -f .config ] || $(NO_TRACE_MAKE) menuconfig