aboutsummaryrefslogtreecommitdiffstats
path: root/build_scripts/options.py
diff options
context:
space:
mode:
Diffstat (limited to 'build_scripts/options.py')
-rw-r--r--build_scripts/options.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/build_scripts/options.py b/build_scripts/options.py
index e4593f71d..ec9d4783a 100644
--- a/build_scripts/options.py
+++ b/build_scripts/options.py
@@ -514,6 +514,8 @@ class CommandMixin(object):
if not self._extra_checks():
sys.exit(-1)
+ OPTION['PLAT_NAME'] = self.plat_name
+
def _extra_checks(self):
if self.is_cross_compile and not self.plat_name:
log.error("No value provided to --plat-name while cross-compiling.")