[PATCH v1 2/2] wscript: Allow substitution outside values
Sebastian Huber
sebastian.huber at embedded-brains.de
Wed Apr 13 05:48:52 UTC 2022
On 12/04/2022 20:55, Kinsey Moore wrote:
> diff --git a/wscript b/wscript
> index 9de9d67b91..e2fc047ea8 100755
> --- a/wscript
> +++ b/wscript
> @@ -276,10 +276,10 @@ class Item(object):
> if target is None:
> target = os.path.splitext(source)[0] + ".o"
> bld(
> - asflags=self.data["asflags"],
> - cppflags=self.data["cppflags"],
> + asflags=[self.substitute(bld, asflag) for asflag in self.data["asflags"]],
> + cppflags=[self.substitute(bld, cppflag) for cppflag in self.data["cppflags"]],
Could you please add a self.substitute_list(bld, values) or add list
support to self.substitute(bld, value).
--
embedded brains GmbH
Herr Sebastian HUBER
Dornierstr. 4
82178 Puchheim
Germany
email: sebastian.huber at embedded-brains.de
phone: +49-89-18 94 741 - 16
fax: +49-89-18 94 741 - 08
Registergericht: Amtsgericht München
Registernummer: HRB 157899
Vertretungsberechtigte Geschäftsführer: Peter Rasmussen, Thomas Dörfler
Unsere Datenschutzerklärung finden Sie hier:
https://embedded-brains.de/datenschutzerklaerung/
More information about the devel
mailing list