summaryrefslogtreecommitdiffstats
path: root/lib/buildsystem.sh
diff options
context:
space:
mode:
authorP. J. McDermott <pjm@nac.net>2012-11-08 00:56:25 (EST)
committer P. J. McDermott <pjm@nac.net>2012-11-08 01:01:23 (EST)
commit83d6a78f143b64558c01b83b6fcbce3e8a508b6f (patch)
treec37d4382ab67d5dac48dfe17c95dc6488f2a37f1 /lib/buildsystem.sh
parent32c42f6b8bc583c04eb6bef96775a31286c2d2a9 (diff)
Support a build target option in oh-autobuild.
Diffstat (limited to 'lib/buildsystem.sh')
-rw-r--r--lib/buildsystem.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/buildsystem.sh b/lib/buildsystem.sh
index 0f9b8b0..11d581b 100644
--- a/lib/buildsystem.sh
+++ b/lib/buildsystem.sh
@@ -69,6 +69,9 @@ oh_set_buildsystem_option()
'target-arch')
_OH_BUILDSYSTEM_TARGET_ARCH="${_ohsbso_value}"
;;
+ 'build-target')
+ _OH_BUILDSYSTEM_BUILD_TARGET="${_ohsbso_value}"
+ ;;
*)
_oh_return 125
return ${?}