diff options
author | Warner Losh <imp@FreeBSD.org> | 2017-08-31 17:53:50 +0000 |
---|---|---|
committer | Warner Losh <imp@FreeBSD.org> | 2017-08-31 17:53:50 +0000 |
commit | b0da7c79f10201f5113d326ef8dfe6708598ba74 (patch) | |
tree | c8290d2cf88a3dbd0c3160d9f525ba88454c9d01 /usr.sbin/efivar/Makefile | |
parent | 6b4a1e856fbce74c45c54f38b84521f8bdf4e44f (diff) | |
download | src-b0da7c79f10201f5113d326ef8dfe6708598ba74.tar.gz src-b0da7c79f10201f5113d326ef8dfe6708598ba74.zip |
Add UCS2->UTF8 option.
Many UEFI variables are UCS2 strings (some NUL terminated, others
not). Add --utf8 (-u) to convert UCS2 strings to UTF8 before printing.
Sponsored by: Netflix
Notes
Notes:
svn path=/head/; revision=323066
Diffstat (limited to 'usr.sbin/efivar/Makefile')
-rw-r--r-- | usr.sbin/efivar/Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/usr.sbin/efivar/Makefile b/usr.sbin/efivar/Makefile index 9a7ac90c820c..821a8e41b8d3 100644 --- a/usr.sbin/efivar/Makefile +++ b/usr.sbin/efivar/Makefile @@ -5,4 +5,7 @@ MAN= efivar.8 LIBADD= efivar +EFIBOOT=${SRCTOP}/sys/boot/efi +CFLAGS+= -I${EFIBOOT}/include + .include <bsd.prog.mk> |