From 289e79b907dd648e5c22a0678baf44a585511b35 Mon Sep 17 00:00:00 2001 From: peter Date: Thu, 26 Jun 2003 03:51:57 +0000 Subject: Build on amd64. Yes, I know this isn't particularly nice. --- sys/boot/i386/boot2/Makefile | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'sys/boot/i386/boot2/Makefile') diff --git a/sys/boot/i386/boot2/Makefile b/sys/boot/i386/boot2/Makefile index 95fec08b..aa8c0cd 100644 --- a/sys/boot/i386/boot2/Makefile +++ b/sys/boot/i386/boot2/Makefile @@ -109,3 +109,15 @@ install: boot2 ${DESTDIR}${BINDIR}/boot2 .include + +.if defined(REALLY_AMD64) +boot2.o: machine + +beforedepend ${OBJS}: machine + +machine: + ln -sf ${.CURDIR}/../../../i386/include machine + +CLEANFILES+= machine +.endif + -- cgit v1.1