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

From
Masahiro Yamada <masahiroy@kernel.org>
Date
2024-07-29 07:36:26
Also in
linux-arch, linux-efi, linux-kbuild, lkml, llvm
Reply to
Arnd Bergmann, 2024-07-29
On Mon, Jul 29, 2024 at 4:02 PM Arnd Bergmann [off-list ref] wrote:
On Sun, Jul 28, 2024, at 22:29, Rong Xu wrote:
quoted
 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
Thread (21 messages) 21 messages, 8 authors, last reply 2024-09-30
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help