#3157 PR open: WIP: Introduce variables EFI_ARCH{_UPPER}

pcahyna opened issue at 2024-02-19 13:12:

Use them for various EFI bootloader suffixes instead of hardcoding strings like BOOTX64.EFI. EFI_ARCH is "x64" and EFI_ARCH_UPPER is "X64" on x86_64 architecture.

Should make it easier to port the code to e.g. Arm.

See e.g. https://github.com/rhboot/shim/blob/main/Make.defaults for possible values.

Relax-and-Recover (ReaR) Pull Request Template

Please fill in the following items before submitting a new pull request:

Pull Request Details:
  • Type: Bug Fix / New Feature / Enhancement / Other?

  • Impact: Low / Normal / High / Critical / Urgent

  • Reference to related issue (URL):

  • How was this pull request tested?

  • Description of the changes in this pull request:

lzaoral commented at 2024-02-19 14:17:

Thank you a lot, @pcahyna! This will make the EFI support on aarch64 I have implemented locally. much easier to upstream!


[Export of Github issue for rear/rear.]