From 3a710dcac96dac1300f27a2dbc7b58ecd94bdd41 Mon Sep 17 00:00:00 2001 From: Amar Takhar Date: Tue, 3 Mar 2015 08:44:37 -0500 Subject: Fail if an option is missing in config.cfg that is required. --- rtems_waf/config/base.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/rtems_waf/config/base.py b/rtems_waf/config/base.py index 10b2d848bb..cd8be72cda 100644 --- a/rtems_waf/config/base.py +++ b/rtems_waf/config/base.py @@ -370,6 +370,9 @@ class BuildConfig(object): for option in cfg_bsp.option_build: opt = cfg_bsp.option_build[option] + if not self.cfg_user.has_option(section, opt.name): + fatal("Missing Option in config: %s" % opt.name) + o = self.cfg_user.get(section, opt.name) # configpaser does not convert values anymore. -- cgit v1.2.3