[PATCH v3 2/2] boot: build arch/*/lib/bootm.c if support boot linux

Bin Meng bmeng.cn at gmail.com
Fri May 20 09:09:28 CEST 2022


On Fri, May 20, 2022 at 10:59 AM Rover Mo <myzmzz at 126.com> wrote:
>
> arch/*/lib/bootm.c is for the boot Linux commands, not just for
> bootm command.
>
> This commit makes CONFIG_BOOTM_LINUX selected by the boot Linux
> commands and arch/*/lib/bootm.c will be built if enabled
> CONFIG_BOOTM_LINUX.

NAK.

bootm is also used for booting VxWorks.

>
> Signed-off-by: Rover Mo <myzmzz at 126.com>
> ---
>  arch/arc/lib/Makefile        | 2 +-
>  arch/arm/lib/Makefile        | 6 +++---
>  arch/m68k/lib/Makefile       | 2 +-
>  arch/microblaze/lib/Makefile | 2 +-
>  arch/mips/lib/Makefile       | 2 +-
>  arch/nios2/lib/Makefile      | 2 +-
>  arch/powerpc/lib/Makefile    | 2 +-
>  arch/riscv/lib/Makefile      | 4 ++--
>  arch/sandbox/lib/Makefile    | 3 +--
>  arch/sh/lib/Makefile         | 2 +-
>  arch/x86/lib/Makefile        | 2 +-
>  arch/xtensa/lib/Makefile     | 2 +-
>  cmd/Kconfig                  | 3 +++
>  13 files changed, 18 insertions(+), 16 deletions(-)
>

Regards,
Bin


More information about the U-Boot mailing list