build: target: improve UX of CONFIG_TARGET handling
authorPetr Štetiar <ynezz@true.cz>
Tue, 29 Mar 2022 06:30:32 +0000 (08:30 +0200)
committerPetr Štetiar <ynezz@true.cz>
Fri, 15 Apr 2022 05:11:18 +0000 (07:11 +0200)
commit68e672f32df3d6b8a75534df5962ac99b693601b
tree882ec3f13674b06c1c7502d48680dfe43adf10d8
parentafb0e9336e2e608a55fe0166e0280356f4b222be
build: target: improve UX of CONFIG_TARGET handling

Make it clear, that for `make kernel_{menu,old}config` it's possible to
use only following values for CONFIG_TARGET variable:

 * env
 * target
 * subtarget
 * subtarget_target

This should prevent misuse like `make kernel_menuconfig
CONFIG_TARGET=bcm2710` etc.

Keep support for obsolete `platform` and `subtarget_platform` targets
with deprecation notice so this compat stuff could be removed in the
future.

Signed-off-by: Petr Štetiar <ynezz@true.cz>
Acked-by: Piotr Dymacz <pepe2k@gmail.com>
include/target.mk