svn commit: r246230 - projects/uefi/sys/boot/i386/efi
Benno Rice
benno at FreeBSD.org
Sat Feb 2 09:05:37 UTC 2013
Author: benno
Date: Sat Feb 2 09:05:36 2013
New Revision: 246230
URL: http://svnweb.freebsd.org/changeset/base/246230
Log:
Put in our own machine include links so we don't get polluted.
Sponsored by: FreeBSD Foundation
Modified:
projects/uefi/sys/boot/i386/efi/Makefile
Modified: projects/uefi/sys/boot/i386/efi/Makefile
==============================================================================
--- projects/uefi/sys/boot/i386/efi/Makefile Sat Feb 2 06:06:39 2013 (r246229)
+++ projects/uefi/sys/boot/i386/efi/Makefile Sat Feb 2 09:05:36 2013 (r246230)
@@ -17,6 +17,7 @@ SRCS+= i386_copy.c bootinfo.c autoload.c
SRCS+= start.S
CFLAGS+= -fPIC
+CFLAGS+= -I.
CFLAGS+= -I${.CURDIR}/../../efi/include
CFLAGS+= -I${.CURDIR}/../../efi/include/i386
@@ -82,3 +83,11 @@ DPADD= ${LIBFICL} ${LIBEFI} ${LIBSTAND}
LDADD= ${LIBFICL} ${LIBEFI} ${LIBSTAND}
.include <bsd.prog.mk>
+
+
+.if ${MACHINE_CPUARCH} == "amd64"
+beforedepend ${OBJS}: machine
+CLEANFILES+= machine
+machine:
+ ln -sf ${.CURDIR}/../../../amd64/include machine
+.endif
More information about the svn-src-projects
mailing list