diff options
author | peter <peter@FreeBSD.org> | 2003-06-26 03:51:57 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 2003-06-26 03:51:57 +0000 |
commit | 289e79b907dd648e5c22a0678baf44a585511b35 (patch) | |
tree | 096ff24ee5a884c1dabbe49274b851335a0ef193 /sys/boot/i386/gptboot/Makefile | |
parent | 5d98ddee251e0ad9fcfe740b27b439d8c124e36b (diff) | |
download | FreeBSD-src-289e79b907dd648e5c22a0678baf44a585511b35.zip FreeBSD-src-289e79b907dd648e5c22a0678baf44a585511b35.tar.gz |
Build on amd64. Yes, I know this isn't particularly nice.
Diffstat (limited to 'sys/boot/i386/gptboot/Makefile')
-rw-r--r-- | sys/boot/i386/gptboot/Makefile | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/sys/boot/i386/gptboot/Makefile b/sys/boot/i386/gptboot/Makefile index 95fec08b..aa8c0cd 100644 --- a/sys/boot/i386/gptboot/Makefile +++ b/sys/boot/i386/gptboot/Makefile @@ -109,3 +109,15 @@ install: boot2 ${DESTDIR}${BINDIR}/boot2 .include <bsd.prog.mk> + +.if defined(REALLY_AMD64) +boot2.o: machine + +beforedepend ${OBJS}: machine + +machine: + ln -sf ${.CURDIR}/../../../i386/include machine + +CLEANFILES+= machine +.endif + |