mbox series

[v2,for-4.15,0/2] firmware: fix build on Alpine

Message ID 20210303082514.8859-1-roger.pau@citrix.com (mailing list archive)
Headers show
Series firmware: fix build on Alpine | expand

Message

Roger Pau Monné March 3, 2021, 8:25 a.m. UTC
Hello,

While the series started as a build fix for Alpine I think they are
interesting on their own for other OSes/distros.

The main risk for patch 1 is breaking the build in some obscure
distro/OS and toolchain combination. We aim to have this mostly covered
by gitlab CI. Patch 2 main risk is breaking the Alpine containers in
gitlab CI, but they are already failing.

Wanted to send this yesterday but was waiting on gitlab CI output, it's now
all green:

https://gitlab.com/xen-project/people/royger/xen/-/pipelines/264321420

Thanks, Roger.

Roger Pau Monne (2):
  firmware: provide a stand alone set of headers
  automation: enable rombios build on Alpine

 automation/scripts/build                      |  5 +--
 tools/firmware/Rules.mk                       | 13 +++++++
 tools/firmware/include/stdarg.h               | 10 +++++
 tools/firmware/include/stdbool.h              |  9 +++++
 tools/firmware/include/stddef.h               | 10 +++++
 tools/firmware/include/stdint.h               | 39 +++++++++++++++++++
 tools/firmware/rombios/32bit/rombios_compat.h |  4 +-
 7 files changed, 84 insertions(+), 6 deletions(-)
 create mode 100644 tools/firmware/include/stdarg.h
 create mode 100644 tools/firmware/include/stdbool.h
 create mode 100644 tools/firmware/include/stddef.h
 create mode 100644 tools/firmware/include/stdint.h