Fwd: Proposal: gnu-efi-cli tool with .inf build support
ALİM TAŞ <[email protected]>
| Newsgroups | org.kernel.vger.linux-efi |
|---|---|
| Message-ID | <CAECVaXm6HRhnD8E_MrFnxgo4-_yMgeXz0JzcmmMMgZKkoE-omQ@mail.gmail.com> |
---------- Forwarded message --------- Gönderen: ALİM TAŞ <[email protected]> Date: 15 Ağu 2026 Cmt, 23:25 Subject: Fwd: Proposal: gnu-efi-cli tool with .inf build support To: <[email protected]> ---------- Forwarded message --------- Gönderen: ALİM TAŞ <[email protected]> Date: 13 Ağu 2026 Per, 14:10 Subject: Proposal: gnu-efi-cli tool with .inf build support To: <[email protected]> Hello GNU community, I would like to propose a new tool for GNU-EFI development: gnu-efi-cli. This tool aims to simplify and modularize the traditional gcc → ld → objcopy build chain by introducing support for .inf files. With gnu-efi-cli, developers can compile EFI applications using a single command: gnu-efi-cli efi.inf An .inf file defines sources, architecture, output, and build options. For example: [Sources] main.c util.c [Defines] ARCH = x86_64 OUTPUT = MyApp.efi [BuildOptions] CFLAGS = -I/usr/include/efi -I/usr/include/efi/x86_64 -fno-stack-protector -fpic -fshort-wchar LDFLAGS = -nostdlib -znocombreloc The tool then automatically invokes gcc, ld, and objcopy to produce a working EFI binary. Advantages: Easier compilation with a single command Repeatable build process defined in INF files Potential for future support of other toolchains (e.g., Clang) If the community finds this idea useful, I plan to prepare a prototype via a GitHub fork and submit a PR to GNU-EFI. I look forward to your feedback and suggestions. Best regards, ALIM