Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 12 Feb 2011 06:22:23 +0000 (UTC)
From:      Takahashi Yoshihiro <nyan@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r218595 - head/sys/boot/pc98/pc98boot
Message-ID:  <201102120622.p1C6MNIx087400@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: nyan
Date: Sat Feb 12 06:22:23 2011
New Revision: 218595
URL: http://svn.freebsd.org/changeset/base/218595

Log:
  Fix build.

Modified:
  head/sys/boot/pc98/pc98boot/Makefile

Modified: head/sys/boot/pc98/pc98boot/Makefile
==============================================================================
--- head/sys/boot/pc98/pc98boot/Makefile	Sat Feb 12 02:41:33 2011	(r218594)
+++ head/sys/boot/pc98/pc98boot/Makefile	Sat Feb 12 06:22:23 2011	(r218595)
@@ -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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201102120622.p1C6MNIx087400>