diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2023-08-02 07:36:45 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2023-08-03 09:23:10 +0200 |
commit | 0d76cc9f0449f7d57ecb93a2cd2a118b89df93e9 (patch) | |
tree | 0788c9b2f8ce12fb8e8ab608413d839f4c3c73b4 /wscript | |
parent | bsps/shared: Fix Coverity warning in MCP7940M (diff) | |
download | rtems-0d76cc9f0449f7d57ecb93a2cd2a118b89df93e9.tar.bz2 |
build: Add PROGRAM_PREFIX option
Replace --rtems-version with a PROGRAM_PREFIX option. This allows also
the use of vendor tools.
Diffstat (limited to 'wscript')
-rwxr-xr-x | wscript | 24 |
1 files changed, 2 insertions, 22 deletions
@@ -1306,12 +1306,6 @@ def options(ctx): help= "the UID of the top-level group [default: '/grp']; it may be used in the bspdefaults and configure commands", ) - rg.add_option( - "--rtems-version", - metavar="VALUE", - help= - "sets the RTEMS major version number; it is intended for RTEMS maintainers and may be used in the bspdefaults and configure commands", - ) def check_environment(conf): @@ -1351,12 +1345,6 @@ def configure_version(conf): version[key] = no_unicode(value) except configparser.NoOptionError: pass - major = conf.options.rtems_version - if major is not None: - conf.msg("Set __RTEMS_MAJOR__ via command line to:", - major, - color="YELLOW") - version["__RTEMS_MAJOR__"] = major def load_config_files(ctx): @@ -1566,14 +1554,7 @@ def build(bld): if not bld.variant: check_forbidden_options( bld, - [ - "compiler", - "config", - "specs", - "tools", - "top_group", - "version", - ], + ["compiler", "config", "specs", "tools", "top_group"], ) load_items(bld, bld.env.SPECS) append_variant_builds(bld) @@ -1662,8 +1643,7 @@ COMPILER = {}""".format(variant, compiler)) def bsplist(ctx): """lists base BSP variants""" - check_forbidden_options( - ctx, ["compiler", "config", "tools", "top_group", "version"]) + check_forbidden_options(ctx, ["compiler", "config", "tools", "top_group"]) add_log_filter(ctx.cmd) load_items_from_options(ctx) white_list = get_white_list(ctx) |