Re: [PATCH 6/6] Add Propeller configuration for kernel build.

From: Masahiro Yamada
Date: Mon Jul 29 2024 - 03:37:02 EST


On Mon, Jul 29, 2024 at 4:02 PM Arnd Bergmann <arnd@xxxxxxxx> wrote:
>
> On Sun, Jul 28, 2024, at 22:29, Rong Xu wrote:
> > Documentation/dev-tools/index.rst | 1 +
> > Documentation/dev-tools/propeller.rst | 188 ++++++++++++++++++++++++++
> > MAINTAINERS | 7 +
> > Makefile | 1 +
> > arch/Kconfig | 22 +++
> > arch/x86/Kconfig | 1 +
> > arch/x86/boot/compressed/Makefile | 3 +
> > arch/x86/kernel/vmlinux.lds.S | 4 +
> > arch/x86/platform/efi/Makefile | 1 +
> > drivers/firmware/efi/libstub/Makefile | 2 +
> > include/asm-generic/vmlinux.lds.h | 8 +-
> > scripts/Makefile.lib | 10 ++
> > scripts/Makefile.propeller | 25 ++++
> > tools/objtool/check.c | 1 +
>
> I have not looked in much detail, but I see that you need
> a special case for arch/x86/boot/compressed and
> drivers/firmware/efi, which makes it likely that you
> need to also disable properller support for
> arch/x86/purgatory/Makefile, which tends to have similar
> requirements.
>
> Arnd




I applied the following commits:

- 9c2d1328f88adb6cbfb218163623254b96f680d3
- 7f7f6f7ad654b326897c9f54438a06f03454bd0d



This might be another case to apply a similar approach
instead of sprinkling PROPELLER__PROFILE=n.




--
Best Regards
Masahiro Yamada