1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/pkg/lua/Makefile.lua
danpetry 69888b5c4c pkg/lua: add download and build of lua as pkg
- download of v5.3.4 of Lua from git
- building using RIOT build system
- patched to remove the need for _times and _link to be
provided to Lua via newlib.
2018-05-24 17:56:05 +02:00

10 lines
287 B
Lua

SRC := $(filter-out lua.c luac.c,$(wildcard *.c))
# This builds for native using POSIX system calls and some extra libraries, and
# removes a compiler warning that warns against using tmpnam().
ifeq ($(BOARD),native)
CFLAGS += -DLUA_USE_LINUX
endif
include $(RIOTBASE)/Makefile.base