Re: [OE-core] [PATCH 2/2] bitbake.conf: Simplify TARGET_SYS/SDK_SYS

2019-12-30 Thread Richard Purdie
On Mon, 2019-12-30 at 14:10 -0800, Khem Raj wrote: > On Mon, Dec 30, 2019 at 12:48 AM Richard Purdie > wrote: > > As pointed out by Masahiro Yamada , ('' or > > 'custom') > > equates to "custom" and this code seems unecesaarily complicated > > and unused. > > > > It was likely intended to

Re: [OE-core] [PATCH 2/2] bitbake.conf: Simplify TARGET_SYS/SDK_SYS

2019-12-30 Thread Khem Raj
On Mon, Dec 30, 2019 at 12:48 AM Richard Purdie wrote: > > As pointed out by Masahiro Yamada , ('' or 'custom') > equates to "custom" and this code seems unecesaarily complicated and unused. > > It was likely intended to supress the value if XXX_OS was set to '' but the > code doesn't actually do

[OE-core] [PATCH 2/2] bitbake.conf: Simplify TARGET_SYS/SDK_SYS

2019-12-30 Thread Richard Purdie
As pointed out by Masahiro Yamada , ('' or 'custom') equates to "custom" and this code seems unecesaarily complicated and unused. It was likely intended to supress the value if XXX_OS was set to '' but the code doesn't actually do that. Simplify it as we shouldn't have this indirection if we