Page MenuHomeFreeBSD

D2283.diff
No OneTemporary

D2283.diff

Index: head/sys/boot/efi/boot1/Makefile
===================================================================
--- head/sys/boot/efi/boot1/Makefile
+++ head/sys/boot/efi/boot1/Makefile
@@ -90,13 +90,16 @@
.include <bsd.prog.mk>
-.if ${MACHINE_CPUARCH} == "amd64" || ${MACHINE_CPUARCH} == "i386"
-beforedepend ${OBJS}: machine x86
+beforedepend ${OBJS}: machine
-CLEANFILES+= machine x86
+CLEANFILES+= machine
machine:
- ln -sf ${.CURDIR}/../../../amd64/include machine
+ ln -sf ${.CURDIR}/../../../${MACHINE}/include machine
+
+.if ${MACHINE_CPUARCH} == "amd64" || ${MACHINE_CPUARCH} == "i386"
+beforedepend ${OBJS}: x86
+CLEANFILES+= x86
x86:
ln -sf ${.CURDIR}/../../../x86/include x86
Index: head/sys/boot/efi/loader/Makefile
===================================================================
--- head/sys/boot/efi/loader/Makefile
+++ head/sys/boot/efi/loader/Makefile
@@ -111,12 +111,17 @@
.include <bsd.prog.mk>
-beforedepend ${OBJS}: machine x86
+beforedepend ${OBJS}: machine
-CLEANFILES+= machine x86
+CLEANFILES+= machine
machine:
- ln -sf ${.CURDIR}/../../../amd64/include machine
+ ln -sf ${.CURDIR}/../../../${MACHINE}/include machine
+
+.if ${MACHINE_CPUARCH} == "amd64" || ${MACHINE_CPUARCH} == "i386"
+beforedepend ${OBJS}: x86
+CLEANFILES+= x86
x86:
ln -sf ${.CURDIR}/../../../x86/include x86
+.endif

File Metadata

Mime Type
text/plain
Expires
Sun, Oct 26, 5:10 PM (7 h, 52 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
24241023
Default Alt Text
D2283.diff (1 KB)

Event Timeline