aboutsummaryrefslogtreecommitdiffstats
path: root/include/package-dumpinfo.mk
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2009-11-10 22:00:54 +0000
committerFelix Fietkau <nbd@openwrt.org>2009-11-10 22:00:54 +0000
commit579d54038bab2423a65701255db6919f4df51183 (patch)
tree422232790754478411291b203b087bcb02f3a6e7 /include/package-dumpinfo.mk
parent1dbcfdaf2f52ee208a7ee88f09f0642dbdb6c882 (diff)
downloadupstream-579d54038bab2423a65701255db6919f4df51183.tar.gz
upstream-579d54038bab2423a65701255db6919f4df51183.tar.bz2
upstream-579d54038bab2423a65701255db6919f4df51183.zip
build system: introduce a new feature called build variants. it allows building a package multiple times in one pass with different build dirs, based on the same build settings. replaces templating hacks like the one used in the hostapd package
SVN-Revision: 18357
Diffstat (limited to 'include/package-dumpinfo.mk')
-rw-r--r--include/package-dumpinfo.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/package-dumpinfo.mk b/include/package-dumpinfo.mk
index f48f31507a..5f9811b4f7 100644
--- a/include/package-dumpinfo.mk
+++ b/include/package-dumpinfo.mk
@@ -32,7 +32,8 @@ $(if $(MENU),Menu: $(MENU)
)Version: $(VERSION)
Depends: $(DEPENDS)
Provides: $(PROVIDES)
-$(if $(PKG_BUILD_DEPENDS),Build-Depends: $(PKG_BUILD_DEPENDS)
+$(if $(VARIANT),Build-Variant: $(VARIANT)
+)$(if $(PKG_BUILD_DEPENDS),Build-Depends: $(PKG_BUILD_DEPENDS)
)$(if $(HOST_BUILD_DEPENDS),Build-Depends/host: $(HOST_BUILD_DEPENDS)
)$(if $(BUILD_TYPES),Build-Types: $(BUILD_TYPES)
)Section: $(SECTION)