summaryrefslogtreecommitdiff
path: root/stand/efi
diff options
context:
space:
mode:
authorSimon J. Gerraty <sjg@FreeBSD.org>2020-07-19 23:54:00 +0000
committerSimon J. Gerraty <sjg@FreeBSD.org>2020-07-19 23:54:00 +0000
commite17f5b1d307b7b8910d67883e57a9604305906d5 (patch)
tree5a9f9551abafa2e64f176c905f7d04c25772ae5e /stand/efi
parentcf5cd89c3a93eb41213a0fe83be7ff79c3d9bb63 (diff)
downloadsrc-test-e17f5b1d307b7b8910d67883e57a9604305906d5.tar.gz
src-test-e17f5b1d307b7b8910d67883e57a9604305906d5.zip
Oops missed Makefile.config
Notes
Notes: svn path=/head/; revision=363350
Diffstat (limited to 'stand/efi')
-rw-r--r--stand/efi/loader/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/stand/efi/loader/Makefile b/stand/efi/loader/Makefile
index 73b1975ad3e37..fe08f5cc42897 100644
--- a/stand/efi/loader/Makefile
+++ b/stand/efi/loader/Makefile
@@ -102,3 +102,8 @@ DPADD= ${LDR_INTERP} ${LIBEFI} ${LIBFDT} ${LIBEFI_FDT} ${LIBSA} ${LDSCRIPT}
LDADD= ${LDR_INTERP} ${LIBEFI} ${LIBFDT} ${LIBEFI_FDT} ${LIBSA}
.include <bsd.prog.mk>
+
+PATH_BOOTABLE_TOKEN=/boot/boot.4th
+CFLAGS+= ${XCFLAGS.${.TARGET:T:R}:U}
+XCFLAGS.main+= -DPATH_BOOTABLE_TOKEN=\"${PATH_BOOTABLE_TOKEN}\"
+