Changeset 71ccc15 in rtems


Ignore:
Timestamp:
Sep 27, 2020, 7:36:07 AM (4 weeks ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
master
Children:
cbd4f54
Parents:
b8d8401
Message:

build: Fix option default values

For the option default values we have to use the BSP name defined by the build
specification and not the user.

Update #3818.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wscript

    rb8d8401 r71ccc15  
    913913            cic.add_option(name)
    914914        except configparser.NoOptionError:
    915             value = self.default_value(conf.variant)
     915            value = self.default_value(conf.env.ARCH_BSP)
    916916        except ValueError as ve:
    917917            conf.fatal(
     
    929929            cic.add_option(name)
    930930        except configparser.NoOptionError:
    931             value = self.default_value(conf.variant)
     931            value = self.default_value(conf.env.ARCH_BSP)
    932932            if value is None:
    933933                return value
     
    948948            value = no_unicode(value)
    949949        except configparser.NoOptionError:
    950             value = self.default_value(conf.variant)
     950            value = self.default_value(conf.env.ARCH_BSP)
    951951        return value
    952952
     
    13591359
    13601360    conf.env["ARCH"] = arch
     1361    conf.env["ARCH_BSP"] = arch_bsp
    13611362    conf.env["BSP_BASE"] = bsp_base
    13621363    conf.env["BSP_NAME"] = bsp_name
Note: See TracChangeset for help on using the changeset viewer.