]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
Makefile: add efi target
authorHarald Hoyer <harald@redhat.com>
Wed, 18 Nov 2015 13:58:10 +0000 (14:58 +0100)
committerHarald Hoyer <harald@redhat.com>
Wed, 25 Nov 2015 13:21:33 +0000 (14:21 +0100)
make an UEFI bootable image

Makefile

index 44c58cc8009d0ecb25f9fdf0ef25debcc2bf1180..8281f90d50dd1419a1c12e20adcfbaa57b78dbdf 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -251,6 +251,10 @@ hostimage: all
        ./dracut.sh -H -l -f test-$(shell uname -r).img $(shell uname -r)
        @echo wrote  test-$(shell uname -r).img
 
+efi: all
+       ./dracut.sh --uefi -H -l -f linux-$(shell uname -r).efi $(shell uname -r)
+       @echo wrote linux-$(shell uname -r).efi
+
 AUTHORS:
        git shortlog  --numbered --summary -e |while read a rest || [ -n "$$rest" ]; do echo $$rest;done > AUTHORS