mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
5ed0bafc92
- Adapted build system and test checks for the native boards to include native64 - Added `native64` to the same tests as `native`
29 lines
804 B
Makefile
29 lines
804 B
Makefile
APPLICATION = lua_basic
|
|
|
|
# If no BOARD is found in the environment, use this default:
|
|
BOARD ?= native
|
|
|
|
# This has to be the absolute path to the RIOT base directory:
|
|
RIOTBASE ?= $(CURDIR)/../..
|
|
|
|
# Comment this out to disable code in RIOT that does safety checking
|
|
# which is not needed in a production environment but helps in the
|
|
# development process:
|
|
DEVELHELP ?= 1
|
|
|
|
# Change this to 0 show compiler invocation lines by default:
|
|
QUIET ?= 1
|
|
|
|
ifeq (,$(filter native native64,$(BOARD)))
|
|
# This stack size is large enough to run Lua print() functions of
|
|
# various lengths. Other functions untested.
|
|
CFLAGS += -DTHREAD_STACKSIZE_MAIN='(THREAD_STACKSIZE_DEFAULT+2048)'
|
|
endif
|
|
|
|
USEPKG += lua
|
|
|
|
# generate .lua.h header files of .lua files
|
|
BLOBS += $(wildcard *.lua)
|
|
|
|
include $(RIOTBASE)/Makefile.include
|