diff options
author | imp <imp@FreeBSD.org> | 2005-04-03 04:58:15 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2005-04-03 04:58:15 +0000 |
commit | 6f675f7be0a64512510be9e6ca51ac0ba0f6bc29 (patch) | |
tree | 3a11c588ed066399d943580c65bdf2088cfa4b99 /sys/boot/pc98/boot2 | |
parent | b3f43c4882e22d525038362a759dbe1e152f61fc (diff) | |
download | FreeBSD-src-6f675f7be0a64512510be9e6ca51ac0ba0f6bc29.zip FreeBSD-src-6f675f7be0a64512510be9e6ca51ac0ba0f6bc29.tar.gz |
Fix buidling of boot blocks for pc98 with new links.
Submitted by: nyan@
Diffstat (limited to 'sys/boot/pc98/boot2')
-rw-r--r-- | sys/boot/pc98/boot2/Makefile | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/sys/boot/pc98/boot2/Makefile b/sys/boot/pc98/boot2/Makefile index de7e867..7d2447a 100644 --- a/sys/boot/pc98/boot2/Makefile +++ b/sys/boot/pc98/boot2/Makefile @@ -92,15 +92,23 @@ install: boot1 boot2 ${DESTDIR}${BINDIR} # If it's not there, don't consider it a target -.if exists(${.CURDIR}/../../../i386/include) +.if exists(${.CURDIR}/../../../pc98/include) beforedepend ${OBJS}: machine machine: - ln -sf ${.CURDIR}/../../../i386/include machine + ln -sf ${.CURDIR}/../../../pc98/include machine .endif -CLEANFILES+= machine +.if exists(${.CURDIR}/../../../i386/include) +beforedepend ${OBJS}: i386 + +i386: + ln -sf ${.CURDIR}/../../../i386/include i386 + +.endif + +CLEANFILES+= machine i386 .include "${.CURDIR}/../../../conf/kern.mk" .include <bsd.prog.mk> |