diff options
| author | Warner Losh <imp@FreeBSD.org> | 2017-11-12 17:10:57 +0000 |
|---|---|---|
| committer | Warner Losh <imp@FreeBSD.org> | 2017-11-12 17:10:57 +0000 |
| commit | 175748c9824ba72ffd68930377df45a22f93eaef (patch) | |
| tree | c76dfdb8e554e5435225d0fb11a7844627d8e551 /sys/boot | |
| parent | 57c3dc51ca1bc27b7766f5d9a82314a1b56e3717 (diff) | |
Notes
Diffstat (limited to 'sys/boot')
| -rw-r--r-- | sys/boot/forth/Makefile | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/sys/boot/forth/Makefile b/sys/boot/forth/Makefile index a0a55864fa5b..89a1ddf19c59 100644 --- a/sys/boot/forth/Makefile +++ b/sys/boot/forth/Makefile @@ -1,5 +1,7 @@ # $FreeBSD$ +.include <bsd.init.mk> + MAN+= beastie.4th.8 \ brand.4th.8 \ check-password.4th.8 \ @@ -36,8 +38,13 @@ FILES+= support.4th FILES+= version.4th FILESDIR_loader.conf= /boot/defaults -# Everybody has these, but you can override -.PATH: ${BOOTSRC}/${MACHINE:C/amd64/i386/}/common ${BOOTSRC}/forth -FILES+= loader.rc menu.rc +# Allow machine specific loader.rc to be installed. +.for f in loader.rc menu.rc +.if exists(${BOOTSRC}/${MACHINE:C/amd64/i386/}/loader/${f}) +FILES+= ${BOOTSRC}/${MACHINE:C/amd64/i386/}/loader/${f} +.else +FILES+= ${f} +.endif +.endfor .include <bsd.prog.mk> |
