[PATCH] build: target: improve UX of CONFIG_TARGET handling

Petr Štetiar ynezz at true.cz
Tue Mar 29 03:55:24 PDT 2022

Piotr Dymacz <pepe2k at gmail.com> [2022-03-29 10:10:00]:


> It seems I've been misusing 'target' for a long time and now I'm trying to
> understand how this leads to the same behavior as 'platform' :)

comments right above that code states following:

 # defaults to subtarget if subtarget exists and target does not
 # defaults to target otherwise

> Should we maybe make 'target' as a valid value?

It's consumed by developers, so I wouldn't waste time and complicate the code
with such band aids for wrong documentation, I would simply fix the
documentation instead.

-- ynezz

More information about the openwrt-devel mailing list