Re: waf bsp_defaults sometimes includes multiple BSPs

2020-10-02 Thread Sebastian Huber
On 02/10/2020 16:26, Joel Sherrill wrote: Maybe we should change it to: def is_in_white_list(variant, white_list): if not white_list: return True for pattern in white_list: if re.match(pattern + "$", variant): return True

Re: waf bsp_defaults sometimes includes multiple BSPs

2020-10-02 Thread Joel Sherrill
On Fri, Oct 2, 2020 at 12:57 AM Sebastian Huber < sebastian.hu...@embedded-brains.de> wrote: > On 01/10/2020 23:38, Joel Sherrill wrote: > > > I am generating a uniquely named ini file per BSP. In doing an ls -l, > > I noticed the size varied by at least a factor of three. This is > > because when

Re: waf bsp_defaults sometimes includes multiple BSPs

2020-10-01 Thread Sebastian Huber
On 01/10/2020 23:38, Joel Sherrill wrote: I am generating a uniquely named ini file per BSP. In doing an ls -l, I noticed the size varied by at least a factor of three. This is because when some BSPs are put in, the entire family is being included.  I suspected this happens when a BSP name mat

Re: waf bsp_defaults sometimes includes multiple BSPs

2020-10-01 Thread Chris Johns
On 2/10/20 7:38 am, Joel Sherrill wrote: > I am generating a uniquely named ini file per BSP. What about doing: echo "[arch/bsp]" > config-arch-bsp.ini For example: echo "[arm/lpc32xx_mzx_stage_1]" > config-arm-lpc32xx_mzx_stage_1.ini I have concerns about the long term effects of users dump

waf bsp_defaults sometimes includes multiple BSPs

2020-10-01 Thread Joel Sherrill
Hi I am generating a uniquely named ini file per BSP. In doing an ls -l, I noticed the size varied by at least a factor of three. This is because when some BSPs are put in, the entire family is being included. I suspected this happens when a BSP name matches the family name but leon3 doesn't trip