diff options
author | nyan <nyan@FreeBSD.org> | 2011-02-12 06:22:23 +0000 |
---|---|---|
committer | nyan <nyan@FreeBSD.org> | 2011-02-12 06:22:23 +0000 |
commit | f7adb385d3196fad25bac9f002b5c842514a42b1 (patch) | |
tree | 2a010c786c1ff573da69b002c8815031ecb0e3f0 /sys/boot/pc98 | |
parent | dc1138bc7d9162cc0a91f58af509dd8d2ddf4b36 (diff) | |
download | FreeBSD-src-f7adb385d3196fad25bac9f002b5c842514a42b1.zip FreeBSD-src-f7adb385d3196fad25bac9f002b5c842514a42b1.tar.gz |
Fix build.
Diffstat (limited to 'sys/boot/pc98')
-rw-r--r-- | sys/boot/pc98/pc98boot/Makefile | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/sys/boot/pc98/pc98boot/Makefile b/sys/boot/pc98/pc98boot/Makefile index 0e33735..73bfba5 100644 --- a/sys/boot/pc98/pc98boot/Makefile +++ b/sys/boot/pc98/pc98boot/Makefile @@ -1,14 +1,22 @@ # $FreeBSD$ FILES= ${BOOT} -SRCS= ${BOOT0} ${BOOT05} CLEANFILES= ${BOOT} ${BOOT}.part BOOT= pc98boot + +.if exists(${.OBJDIR}/../boot0) +BOOT0= ${.OBJDIR}/../boot0/boot0 +.else BOOT0= ${.CURDIR}/../boot0/boot0 +.endif +.if exists(${.OBJDIR}/../boot0.5) +BOOT05= ${.OBJDIR}/../boot0.5/boot0.5 +.else BOOT05= ${.CURDIR}/../boot0.5/boot0.5 +.endif -${BOOT}: ${SRCS} ${BOOT}.part +${BOOT}: ${BOOT0} ${BOOT05} ${BOOT}.part cat ${BOOT0} ${BOOT}.part ${BOOT05} > ${.TARGET} ${BOOT}.part: |