Skip to content

Commit

Permalink
Port to the Meson buildsystem
Browse files Browse the repository at this point in the history
Signed-off-by: Richard Hughes <[email protected]>
  • Loading branch information
hughsie committed Jun 3, 2024
1 parent 0a85e9b commit f2a5926
Show file tree
Hide file tree
Showing 22 changed files with 193 additions and 539 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"container": "vathpela/efi-ci:f36-x64",
"steps": [
{ "uses": "actions/checkout@v2" },
{ "run": "EFIDIR=test make" },
{ "run": "meson build && ninja -C build" },
],
},
},
Expand Down
41 changes: 0 additions & 41 deletions Make.coverity

This file was deleted.

64 changes: 0 additions & 64 deletions Make.defaults

This file was deleted.

15 changes: 0 additions & 15 deletions Make.deps

This file was deleted.

9 changes: 0 additions & 9 deletions Make.fanalyzer

This file was deleted.

81 changes: 0 additions & 81 deletions Make.rules

This file was deleted.

20 changes: 0 additions & 20 deletions Make.scan-build

This file was deleted.

1 change: 0 additions & 1 deletion Make.version

This file was deleted.

68 changes: 0 additions & 68 deletions Makefile

This file was deleted.

21 changes: 21 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,3 +100,24 @@ Alternative use cases could be as follows:
`efibootmgr -c -i eth0 -L netboot`

Please direct any bugs, features, patches, etc. to the Red Hat bootloader team at https://github.com/rhboot/efibootmgr .

Meson Notes
===========

Following the port to Meson, we no longer build *in-place*.

Create a `build` directory and configure and build the project there. e.g.

mkdir build
cd build
meson setup ../
ninja

The old build targets are now as follows:

* `make archive` -> `ninja dist`
* `make distclean` -> `ninja clean`
* `make scanbuild` -> `ninja scan-build`
* `make fanalyzer` -> `meson configure -Db_sanitize=address,undefined && ninja`
* `make efibootmgr-static` -> `meson configure -Dprefer_static=true && ninja`
* `EFIDIR=fedora make` -> `meson configure -Defidir=fedora && ninja`
Loading

0 comments on commit f2a5926

Please sign in to comment.