[PATCH v3 0/7] tools/nolibc: add 32/64-bit powerpc support

From: Zhangjin Wu
Date: Thu Jul 27 2023 - 10:59:00 EST


Hi, Willy, Thomas

v3 here is to fix up two issues introduced in v2 powerpc patchset [1].

- One is restore the wrongly removed '\' for a '\$$ARCH'

- Another is add the missing $(ARCH).config for ppc, the default variant
for powerpc is renamed to ppc in v2 (as discussed with Willy in [2]), but
ppc.config is missing in v2 patchset, not sure why this happen, may a
'git clean -fdx .' is required to do a new test, just did it.

Btw, the v3 tinyconfig-part1 for powerpc is ready, I will send it out
soon.

Best regards,
Zhangjin
---
[1]: https://lore.kernel.org/lkml/cover.1690373704.git.falcon@xxxxxxxxxxx/
[2]: https://lore.kernel.org/lkml/ZL9leVOI25S2+0+g@xxxxxx/

Zhangjin Wu (7):
tools/nolibc: add support for powerpc
tools/nolibc: add support for powerpc64
selftests/nolibc: add extra configs customize support
selftests/nolibc: add XARCH and ARCH mapping support
selftests/nolibc: add test support for ppc
selftests/nolibc: add test support for ppc64le
selftests/nolibc: add test support for ppc64

tools/include/nolibc/arch-powerpc.h | 202 ++++++++++++++++++
tools/include/nolibc/arch.h | 2 +
tools/testing/selftests/nolibc/Makefile | 46 +++-
.../selftests/nolibc/configs/ppc.config | 3 +
4 files changed, 246 insertions(+), 7 deletions(-)
create mode 100644 tools/include/nolibc/arch-powerpc.h
create mode 100644 tools/testing/selftests/nolibc/configs/ppc.config

--
2.25.1