summaryrefslogtreecommitdiffstats
path: root/sys/boot/efi/loader
diff options
context:
space:
mode:
authorandrew <andrew@FreeBSD.org>2015-09-01 13:51:07 +0000
committerandrew <andrew@FreeBSD.org>2015-09-01 13:51:07 +0000
commit06204d2cbeb6827a384a0bf1b6b760ab8752919b (patch)
tree4f2f25ba89abc7349ed6c84679bc413ec64b1487 /sys/boot/efi/loader
parentcb97f9b456a1df19496ff16a3b96882df9a160af (diff)
downloadFreeBSD-src-06204d2cbeb6827a384a0bf1b6b760ab8752919b.zip
FreeBSD-src-06204d2cbeb6827a384a0bf1b6b760ab8752919b.tar.gz
Install the forth bits on arm64. For now limit it to just arm64 as on x86
these should have been installed as part of the regular loader.
Diffstat (limited to 'sys/boot/efi/loader')
-rw-r--r--sys/boot/efi/loader/Makefile4
-rw-r--r--sys/boot/efi/loader/arch/arm64/Makefile.inc13
2 files changed, 15 insertions, 2 deletions
diff --git a/sys/boot/efi/loader/Makefile b/sys/boot/efi/loader/Makefile
index d11021e..b341704 100644
--- a/sys/boot/efi/loader/Makefile
+++ b/sys/boot/efi/loader/Makefile
@@ -73,13 +73,13 @@ CFLAGS+= -DEFI_STAGING_SIZE=${EFI_STAGING_SIZE}
.include "${.CURDIR}/../../common/Makefile.inc"
CFLAGS+= -I${.CURDIR}/../../common
-FILES= loader.efi
+FILES+= loader.efi
FILESMODE_loader.efi= ${BINMODE}
LDSCRIPT= ${.CURDIR}/arch/${MACHINE}/ldscript.${MACHINE}
LDFLAGS+= -Wl,-T${LDSCRIPT} -Wl,-Bsymbolic -shared
-CLEANFILES= vers.c loader.efi
+CLEANFILES+= vers.c loader.efi
NEWVERSWHAT= "EFI loader" ${MACHINE}
diff --git a/sys/boot/efi/loader/arch/arm64/Makefile.inc b/sys/boot/efi/loader/arch/arm64/Makefile.inc
index 82d8cef..d263db9 100644
--- a/sys/boot/efi/loader/arch/arm64/Makefile.inc
+++ b/sys/boot/efi/loader/arch/arm64/Makefile.inc
@@ -9,3 +9,16 @@ CFLAGS+=-I${.CURDIR}/../../arm64/libarm64
SRCS+= cache.c
CFLAGS+= -msoft-float -mgeneral-regs-only
+
+CLEANFILES+= loader.help
+
+loader.help: help.common
+ cat ${.ALLSRC} | \
+ awk -f ${.CURDIR}/../../common/merge_help.awk > ${.TARGET}
+
+.if !defined(LOADER_ONLY)
+.PATH: ${.CURDIR}/../../forth
+.include "${.CURDIR}/../../forth/Makefile.inc"
+
+FILES+= loader.rc
+.endif
OpenPOWER on IntegriCloud