summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--wscript28
1 files changed, 0 insertions, 28 deletions
diff --git a/wscript b/wscript
index a564079..27e3a65 100644
--- a/wscript
+++ b/wscript
@@ -64,31 +64,6 @@ def options(opt):
recurse(opt)
-def no_unicode(value):
- if sys.version_info[0] > 2:
- return value
- if isinstance(value, unicode):
- return str(value)
- return value
-
-
-def get_config():
- cp = configparser.ConfigParser()
- filename = "config.ini"
- if filename not in cp.read([filename]):
- return None
- return cp
-
-
-def get_configured_bsps(cp):
- if not cp:
- return "all"
- bsps = []
- for raw_bsp in cp.sections():
- bsps.append(no_unicode(raw_bsp))
- return ",".join(bsps)
-
-
def bsp_configure(conf, arch_bsp):
env = conf.env.derive()
ab = conf.env.RTEMS_ARCH_BSP
@@ -100,9 +75,6 @@ def bsp_configure(conf, arch_bsp):
def configure(conf):
- cp = get_config()
- if conf.options.rtems_bsps == "all":
- conf.options.rtems_bsps = get_configured_bsps(cp)
rtems.configure(conf, bsp_configure)