svn commit: r280671 - projects/lua-bootloader/sys/boot/amd64/efi
Rui Paulo
rpaulo at FreeBSD.org
Thu Mar 26 05:50:57 UTC 2015
Author: rpaulo
Date: Thu Mar 26 05:50:56 2015
New Revision: 280671
URL: https://svnweb.freebsd.org/changeset/base/280671
Log:
efi: add rules for lua.
Modified:
projects/lua-bootloader/sys/boot/amd64/efi/Makefile
Modified: projects/lua-bootloader/sys/boot/amd64/efi/Makefile
==============================================================================
--- projects/lua-bootloader/sys/boot/amd64/efi/Makefile Thu Mar 26 05:48:34 2015 (r280670)
+++ projects/lua-bootloader/sys/boot/amd64/efi/Makefile Thu Mar 26 05:50:56 2015 (r280671)
@@ -45,6 +45,14 @@ CFLAGS+= -I${.CURDIR}/../../ficl/${MACHI
LIBFICL= ${.OBJDIR}/../../ficl/libficl.a
.endif
+.if ${MK_LUA} != "no"
+BOOT_LUA= yes
+CFLAGS+= -DBOOT_LUA
+CFLAGS+= -I${.CURDIR}/../../liblua
+CFLAGS+= -I${.CURDIR}/../../../contrib/lua
+LIBLUA= ${.OBJDIR}/../../liblua/liblua.a
+.endif
+
# Include bcache code.
HAVE_BCACHE= yes
@@ -91,8 +99,8 @@ loader.efi: loader.sym
LIBEFI= ${.OBJDIR}/../../efi/libefi/libefi.a
-DPADD= ${LIBFICL} ${LIBEFI} ${LIBSTAND} ${LDSCRIPT}
-LDADD= ${LIBFICL} ${LIBEFI} ${LIBSTAND}
+DPADD= ${LIBLUA} ${LIBFICL} ${LIBEFI} ${LIBSTAND} ${LDSCRIPT}
+LDADD= ${LIBLUA} ${LIBFICL} ${LIBEFI} ${LIBSTAND}
.endif # ${COMPILER_TYPE} != "gcc"
More information about the svn-src-projects
mailing list