diff options
author | imp <imp@FreeBSD.org> | 2008-07-23 07:23:33 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2008-07-23 07:23:33 +0000 |
commit | 33e1957f1b9052d1e64c4283a91608e520dfff23 (patch) | |
tree | 5322b3762e55ca35b1591c8bf8f89fb3cbf9cbdc | |
parent | 89fba4c0a95438ab235451eb0437a0e75180a9ea (diff) | |
download | FreeBSD-src-33e1957f1b9052d1e64c4283a91608e520dfff23.zip FreeBSD-src-33e1957f1b9052d1e64c4283a91608e520dfff23.tar.gz |
Only descend into the boot directory for the architecture if it
actually exists and is a directory or symlink to a directory.
-rw-r--r-- | sys/boot/Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/boot/Makefile b/sys/boot/Makefile index 75663df..acd46c6 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> |