On Mon, Jul 19, 2021 at 01:07:02PM +0200, Guillaume La Roque wrote:
> On MediaTek boards we cannot override the SYS_BOARD / SYS_CONFIG_NAME
> variables from defconfig.
> This is because in board/mediatek/mtXXXX/Kconfig this value was override
> by default due to the if CONFIG_TARGET_MTXXXX condition.
>
> Merge all the Kconfigs to the mach-medatek/Kconfig.
>
> This way:
> - we only define SYS_{SOC,VENDOR} once
> - all board definitions are in a single place, simplifying the build logic.
>
> Signed-off-by: Guillaume La Roque <[email protected]>
> ---
> arch/arm/mach-mediatek/Kconfig | 42 +++++++++++++++++++++++-----
> arch/mips/mach-mtmips/Kconfig | 3 ++
> arch/mips/mach-mtmips/mt7620/Kconfig | 8 +++++-
> arch/mips/mach-mtmips/mt7628/Kconfig | 11 +++++++-
> board/mediatek/mt7620/Kconfig | 12 --------
> board/mediatek/mt7622/Kconfig | 17 -----------
> board/mediatek/mt7623/Kconfig | 13 ---------
> board/mediatek/mt7628/Kconfig | 12 --------
> board/mediatek/mt7629/Kconfig | 17 -----------
> board/mediatek/mt8183/Kconfig | 13 ---------
> board/mediatek/mt8512/Kconfig | 14 ----------
> board/mediatek/mt8516/Kconfig | 13 ---------
> board/mediatek/mt8518/Kconfig | 14 ----------
> 13 files changed, 55 insertions(+), 134 deletions(-)
> delete mode 100644 board/mediatek/mt7620/Kconfig
> delete mode 100644 board/mediatek/mt7622/Kconfig
> delete mode 100644 board/mediatek/mt7623/Kconfig
> delete mode 100644 board/mediatek/mt7628/Kconfig
> delete mode 100644 board/mediatek/mt7629/Kconfig
> delete mode 100644 board/mediatek/mt8183/Kconfig
> delete mode 100644 board/mediatek/mt8512/Kconfig
> delete mode 100644 board/mediatek/mt8516/Kconfig
> delete mode 100644 board/mediatek/mt8518/KconfigThis breaks: gardena-smart-gateway-mt7688 linkit-smart-7688 vocore2 -- Tom
signature.asc
Description: PGP signature

