diff mbox

[17/17] Add MULTIARCH_CORE_DEPENDENCIES table

Message ID 1323885273-23505-17-git-send-email-wookey@linaro.org
State Accepted
Headers show

Commit Message

Wookey Dec. 14, 2011, 5:54 p.m. UTC
From: Wookey <wookey@wookware.org>

---
 lib/Sbuild/Conf.pm |   10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)
diff mbox

Patch

diff --git a/lib/Sbuild/Conf.pm b/lib/Sbuild/Conf.pm
index bb5ba03..fb1b066 100644
--- a/lib/Sbuild/Conf.pm
+++ b/lib/Sbuild/Conf.pm
@@ -822,7 +822,15 @@  sub setup ($) {
 	    DEFAULT => [],
 	    HELP => 'Additional per-build dependencies.  Do not set by hand.'
 	},
-	'BUILD_SOURCE'				=> {
+	'CROSSBUILD_CORE_DEPENDS'				=> {
+	    TYPE => 'HASH:ARRAY:STRING',
+	    VARNAME => 'crossbuild_core_depends',
+	    GROUP => 'Multiarch support (transitional)',
+	    DEFAULT => { armel => ['g++-arm-linux-gnueabi', 'libc6-dev-armel-cross'],
+			 armhf => ['g++-arm-linux-gnueabihf', 'libc6-dev-armhf-cross']
+	    	       },
+	    HELP => 'Per-architecture dependencies required for cross-building.'
+	},	'BUILD_SOURCE'				=> {
 	    TYPE => 'BOOL',
 	    VARNAME => 'build_source',
 	    GROUP => 'Build options',