summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2008-07-23 07:23:33 +0000
committerWarner Losh <imp@FreeBSD.org>2008-07-23 07:23:33 +0000
commitb3f1e9378b37f58376c53802b0fc17dfb86f4923 (patch)
tree5322b3762e55ca35b1591c8bf8f89fb3cbf9cbdc
parenta30c29f9f517e686a5120ad73348440ab3c0f7c5 (diff)
Notes
-rw-r--r--sys/boot/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/boot/Makefile b/sys/boot/Makefile
index 75663dfbf2ae..acd46c6b7322 100644
--- a/sys/boot/Makefile
+++ b/sys/boot/Makefile
@@ -23,6 +23,9 @@ SUBDIR+= uboot
.endif
# Pick the machine-dependent subdir based on the target architecture.
-SUBDIR+= ${MACHINE:S/amd64/i386/:S/sun4v/sparc64/}
+ADIR= ${MACHINE:S/amd64/i386/:S/sun4v/sparc64/}
+.if exists(${.CURDIR}/${ADIR}/.)
+SUBDIR+= ${ADIR}
+.endif
.include <bsd.subdir.mk>