summaryrefslogtreecommitdiff
path: root/include/package-dumpinfo.mk
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2009-03-17 02:20:34 +0000
committerFelix Fietkau <nbd@openwrt.org>2009-03-17 02:20:34 +0000
commitddcfaeb1e516d569436c3d4d453a9573655ca375 (patch)
tree94b1169c72a68b9ef6ce9ab92aea68eb8764358a /include/package-dumpinfo.mk
parent7ef6b7451973d0d3fd09014871e7859b6a83fb19 (diff)
downloadmtk-20170518-ddcfaeb1e516d569436c3d4d453a9573655ca375.zip
mtk-20170518-ddcfaeb1e516d569436c3d4d453a9573655ca375.tar.gz
mtk-20170518-ddcfaeb1e516d569436c3d4d453a9573655ca375.tar.bz2
move host build in packages into a separate namespace: package/<name>/host/<target> this allows dependencies between host and target packages, and saves unnecessary host builds for packages that contain both variants
SVN-Revision: 14905
Diffstat (limited to 'include/package-dumpinfo.mk')
-rw-r--r--include/package-dumpinfo.mk6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/package-dumpinfo.mk b/include/package-dumpinfo.mk
index f08788b..db8d9c1 100644
--- a/include/package-dumpinfo.mk
+++ b/include/package-dumpinfo.mk
@@ -32,8 +32,10 @@ $(if $(MENU),Menu: $(MENU)
)Version: $(VERSION)
Depends: $(DEPENDS)
Provides: $(PROVIDES)
-Build-Depends: $(PKG_BUILD_DEPENDS)
-Section: $(SECTION)
+$(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)
Category: $(CATEGORY)
Title: $(TITLE)
Maintainer: $(MAINTAINER)