aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--stand/efi/loader/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/stand/efi/loader/Makefile b/stand/efi/loader/Makefile
index 77f9d598dbc8..94c06d01bbfa 100644
--- a/stand/efi/loader/Makefile
+++ b/stand/efi/loader/Makefile
@@ -90,6 +90,10 @@ VERSION_FILE= ${.CURDIR}/../loader/version
FILES+= ${LOADER}.efi
FILESMODE_${LOADER}.efi= ${BINMODE}
+.if ${LOADER_INTERP} == ${LOADER_DEFAULT_INTERP}
+LINKS+= ${BINDIR}/${LOADER}.efi ${BINDIR}/loader.efi
+.endif
+
LDSCRIPT= ${.CURDIR}/../loader/arch/${MACHINE}/ldscript.${MACHINE}
LDFLAGS+= -Wl,-T${LDSCRIPT},-Bsymbolic,-znotext -shared