Date: Sat, 2 Feb 2013 09:05:37 +0000 (UTC) From: Benno Rice <benno@FreeBSD.org> To: src-committers@freebsd.org, svn-src-projects@freebsd.org Subject: svn commit: r246230 - projects/uefi/sys/boot/i386/efi Message-ID: <201302020905.r1295bks079936@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201302020905.r1295bks079936>