Adding a new efi-update-loader script: need help understanding Makefile.inc1 for "make installworld"

Konstantin Belousov kostikbel at gmail.com
Sun Mar 24 09:01:18 UTC 2019


On Sat, Mar 23, 2019 at 08:21:43PM -0600, Rebecca Cran via freebsd-hackers wrote:
> I've been working on EFI support, and have a review 
> (https://reviews.freebsd.org/D19588) to add a script, efi-update-loader, 
> which will update the ESP containing the FreeBSD boot1.efi or loader.efi.
> 
> I'd like to integrate it into the build system so it gets run when users 
> do a "make installworld", but I'm lost looking through Makefile.inc1 - I 
> have no clue where to add the code.
> 
> Does anyone understand where and what to add?

Can we take use of the opportunity and finally stop installing loader
at installworld target at all, please ?

Add e.g. installloader target which would do whatever needed to loader.


More information about the freebsd-hackers mailing list