aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--stand/arm/Makefile2
-rw-r--r--stand/defs.mk3
-rw-r--r--stand/efi/Makefile2
-rw-r--r--stand/forth/Makefile2
-rw-r--r--stand/i386/Makefile2
-rw-r--r--stand/mips/Makefile2
-rw-r--r--stand/powerpc/Makefile2
-rw-r--r--stand/sparc64/Makefile2
8 files changed, 16 insertions, 1 deletions
diff --git a/stand/arm/Makefile b/stand/arm/Makefile
index 1d12d9831658..7ff21abcc9b8 100644
--- a/stand/arm/Makefile
+++ b/stand/arm/Makefile
@@ -1,5 +1,7 @@
# $FreeBSD$
+NO_OBJ=t
+
SUBDIR= uboot
.include <bsd.subdir.mk>
diff --git a/stand/defs.mk b/stand/defs.mk
index dd165ff9f06b..9dcf32b4da7b 100644
--- a/stand/defs.mk
+++ b/stand/defs.mk
@@ -163,6 +163,7 @@ CLEANFILES+=${_ILINKS}
all: ${PROG}
+.if !defined(NO_OBJ)
beforedepend: ${_ILINKS}
beforebuild: ${_ILINKS}
@@ -190,5 +191,5 @@ ${_ILINKS}:
path=`(cd $$path && /bin/pwd)` ; \
${ECHO} ${.TARGET:T} "->" $$path ; \
ln -fhs $$path ${.TARGET:T}
-
+.endif
.endif # __BOOT_DEFS_MK__
diff --git a/stand/efi/Makefile b/stand/efi/Makefile
index e3b22de4a99a..ee1abfd583a4 100644
--- a/stand/efi/Makefile
+++ b/stand/efi/Makefile
@@ -1,5 +1,7 @@
# $FreeBSD$
+NO_OBJ=t
+
.include <bsd.init.mk>
# In-tree GCC does not support __attribute__((ms_abi)), but gcc newer
diff --git a/stand/forth/Makefile b/stand/forth/Makefile
index 3d79dc1716c2..acb5842b8989 100644
--- a/stand/forth/Makefile
+++ b/stand/forth/Makefile
@@ -1,5 +1,7 @@
# $FreeBSD$
+NO_OBJ=t
+
.include <bsd.init.mk>
MAN+= beastie.4th.8 \
diff --git a/stand/i386/Makefile b/stand/i386/Makefile
index 9a1663abab07..a67088b68213 100644
--- a/stand/i386/Makefile
+++ b/stand/i386/Makefile
@@ -1,5 +1,7 @@
# $FreeBSD$
+NO_OBJ=t
+
.include <bsd.init.mk>
SUBDIR= mbr pmbr boot0 boot0sio btx boot2 cdboot gptboot \
diff --git a/stand/mips/Makefile b/stand/mips/Makefile
index 760c557d92d1..90341b2f7e50 100644
--- a/stand/mips/Makefile
+++ b/stand/mips/Makefile
@@ -1,5 +1,7 @@
# $FreeBSD$
+NO_OBJ=t
+
SUBDIR= uboot
#
diff --git a/stand/powerpc/Makefile b/stand/powerpc/Makefile
index c8bbb17e2f06..09b2bfe8715f 100644
--- a/stand/powerpc/Makefile
+++ b/stand/powerpc/Makefile
@@ -1,5 +1,7 @@
# $FreeBSD$
+NO_OBJ=t
+
.include <bsd.init.mk>
SUBDIR= boot1.chrp ofw uboot
diff --git a/stand/sparc64/Makefile b/stand/sparc64/Makefile
index 6a81a0580d5f..3c6e2bf85c9c 100644
--- a/stand/sparc64/Makefile
+++ b/stand/sparc64/Makefile
@@ -1,5 +1,7 @@
# $FreeBSD$
+NO_OBJ=t
+
.include <bsd.init.mk>
SUBDIR= boot1 loader