[SeaBIOS] [PATCH v3 0/9] Build system improvements

Jiaxun Yang posted 9 patches 5 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/seabios tags/patchew/20250909-build-v3-0-3128c8c8c3ad@flygoat.com
Makefile                           |   24 +-
scripts/acpi_extract.py            |  366 -------
scripts/acpi_extract_preprocess.py |   41 -
scripts/buildrom.py                |    2 +-
scripts/buildversion.py            |    2 +-
scripts/checkrom.py                |    2 +-
scripts/checkstack.py              |    2 +-
scripts/checksum.py                |    2 +-
scripts/encodeint.py               |    2 +-
scripts/gen-offsets.sh             |    7 +-
scripts/kconfig/Makefile           |    6 +-
scripts/layoutrom.py               |    2 +-
scripts/ldnoexec.py                |    2 +-
scripts/readserial.py              |    2 +-
scripts/transdump.py               |    2 +-
scripts/vgafixup.py                |    2 +-
src/gen-defs.h                     |    8 +-
src/hw/usb-ohci.c                  |    2 +-
src/hw/virtio-blk.c                |    2 +-
src/std/LegacyBios.h               | 1972 ++++++++++++++++++------------------
20 files changed, 1024 insertions(+), 1426 deletions(-)
[SeaBIOS] [PATCH v3 0/9] Build system improvements
Posted by Jiaxun Yang 5 months ago
Hi all,

This series improved SeaBIOS build system in various aspects.
Most notably, it makes cross compiling on MacOS Arm64 with
x86_64-elf- toolchain possible.

It also fixed various issues exposed when I was trying to clang
build work. Although I eventually give up.

Thanks

Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
---
Changes in v3:
- Fix typo/style issues.
- Link to v2: https://lore.kernel.org/r/20250903-build-v2-0-8e8916974f9c@flygoat.com

---
Jiaxun Yang (9):
      Remove remaining ACPI tooling bits
      Makefile: Don't use $(CC) as default $(HOSTCC)
      Makefile: Invoke preprocessor and assembler with CC
      Makefile: Allow more linux style knobs
      asm-offset: Refresh definitions from Linux
      scripts: Use python3 as python
      LegacyBios.h: Import from edk2-stable202311
      virtio-blk: Fix indentation for vring_get_buf call
      usb-ohci: Fix logical condition in start_ohci function

 Makefile                           |   24 +-
 scripts/acpi_extract.py            |  366 -------
 scripts/acpi_extract_preprocess.py |   41 -
 scripts/buildrom.py                |    2 +-
 scripts/buildversion.py            |    2 +-
 scripts/checkrom.py                |    2 +-
 scripts/checkstack.py              |    2 +-
 scripts/checksum.py                |    2 +-
 scripts/encodeint.py               |    2 +-
 scripts/gen-offsets.sh             |    7 +-
 scripts/kconfig/Makefile           |    6 +-
 scripts/layoutrom.py               |    2 +-
 scripts/ldnoexec.py                |    2 +-
 scripts/readserial.py              |    2 +-
 scripts/transdump.py               |    2 +-
 scripts/vgafixup.py                |    2 +-
 src/gen-defs.h                     |    8 +-
 src/hw/usb-ohci.c                  |    2 +-
 src/hw/virtio-blk.c                |    2 +-
 src/std/LegacyBios.h               | 1972 ++++++++++++++++++------------------
 20 files changed, 1024 insertions(+), 1426 deletions(-)
---
base-commit: 0026c353eb4e220af29750fcf000d48faf8d4ab3
change-id: 20250903-build-d57c47407e58

Best regards,
-- 
Jiaxun Yang <jiaxun.yang@flygoat.com>

_______________________________________________
SeaBIOS mailing list -- seabios@seabios.org
To unsubscribe send an email to seabios-leave@seabios.org
[SeaBIOS] Re: [PATCH v3 0/9] Build system improvements
Posted by Kevin O'Connor via SeaBIOS 2 weeks, 5 days ago
On Tue, Sep 09, 2025 at 04:17:53AM +0000, Jiaxun Yang wrote:
> Hi all,
> 
> This series improved SeaBIOS build system in various aspects.
> Most notably, it makes cross compiling on MacOS Arm64 with
> x86_64-elf- toolchain possible.
> 

Thanks.  Sorry that this series slipped on my side.

I committed patches "Remove remaining ACPI tooling bits", "virtio-blk:
Fix indentation for vring_get_buf call", and "usb-ohci: Fix logical
condition in start_ohci function".

I'm fine with the other two patches that Gerd reviewed ("Makefile:
Invoke preprocessor and assembler with CC" and "scripts: Use python3
as python") but they have Makefile conflicts due to questions on
"Makefile: Don't use $(CC) as default $(HOSTCC)".

Cheers,
-Kevin


> It also fixed various issues exposed when I was trying to clang
> build work. Although I eventually give up.
> 
> Thanks
> 
> Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
> ---
> Changes in v3:
> - Fix typo/style issues.
> - Link to v2: https://lore.kernel.org/r/20250903-build-v2-0-8e8916974f9c@flygoat.com
> 
> ---
> Jiaxun Yang (9):
>       Remove remaining ACPI tooling bits
>       Makefile: Don't use $(CC) as default $(HOSTCC)
>       Makefile: Invoke preprocessor and assembler with CC
>       Makefile: Allow more linux style knobs
>       asm-offset: Refresh definitions from Linux
>       scripts: Use python3 as python
>       LegacyBios.h: Import from edk2-stable202311
>       virtio-blk: Fix indentation for vring_get_buf call
>       usb-ohci: Fix logical condition in start_ohci function
> 
>  Makefile                           |   24 +-
>  scripts/acpi_extract.py            |  366 -------
>  scripts/acpi_extract_preprocess.py |   41 -
>  scripts/buildrom.py                |    2 +-
>  scripts/buildversion.py            |    2 +-
>  scripts/checkrom.py                |    2 +-
>  scripts/checkstack.py              |    2 +-
>  scripts/checksum.py                |    2 +-
>  scripts/encodeint.py               |    2 +-
>  scripts/gen-offsets.sh             |    7 +-
>  scripts/kconfig/Makefile           |    6 +-
>  scripts/layoutrom.py               |    2 +-
>  scripts/ldnoexec.py                |    2 +-
>  scripts/readserial.py              |    2 +-
>  scripts/transdump.py               |    2 +-
>  scripts/vgafixup.py                |    2 +-
>  src/gen-defs.h                     |    8 +-
>  src/hw/usb-ohci.c                  |    2 +-
>  src/hw/virtio-blk.c                |    2 +-
>  src/std/LegacyBios.h               | 1972 ++++++++++++++++++------------------
>  20 files changed, 1024 insertions(+), 1426 deletions(-)
> ---
> base-commit: 0026c353eb4e220af29750fcf000d48faf8d4ab3
> change-id: 20250903-build-d57c47407e58
> 
> Best regards,
> --
> Jiaxun Yang <jiaxun.yang@flygoat.com>
> 
> _______________________________________________
> SeaBIOS mailing list -- seabios@seabios.org
> To unsubscribe send an email to seabios-leave@seabios.org

_______________________________________________
SeaBIOS mailing list -- seabios@seabios.org
To unsubscribe send an email to seabios-leave@seabios.org