mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-27 11:55:06 +00:00
eb0a7e4130
This first commit brings 3 functions for enumerating, retrieving, adding, removing and modifying EFI variables. The immediate use of these include the insertion of a new boot option as part of the installation process. This library uses ioctl(2) requests implemented by io(4) to pass the requests down through the kernel to EFI. These ioctl requests are only implemented on ia64, so libefi is currently only enabled on ia64. The interface is generic and io(4) on mad64/i386 can easily be taught to handle these once EFI support has been added to the kernel there.
23 lines
292 B
Makefile
23 lines
292 B
Makefile
# $FreeBSD$
|
|
|
|
.include <bsd.own.mk>
|
|
|
|
LIB= efi
|
|
SHLIB_MAJOR= 1
|
|
|
|
SRCS= libefi.c \
|
|
efi_getvar.c \
|
|
efi_nextvarname.c \
|
|
efi_setvar.c
|
|
|
|
CFLAGS+= -I${.CURDIR}
|
|
|
|
INCS= libefi.h
|
|
|
|
MAN+= libefi.3
|
|
MLINKS+=libefi.3 efi_getvar.3 \
|
|
libefi.3 efi_nextvarname.3 \
|
|
libefi.3 efi_setvar.3
|
|
|
|
.include <bsd.lib.mk>
|