From 606ea7eb8decc72230e885410734777bda02ea96 Mon Sep 17 00:00:00 2001 From: Karl Palsson Date: Sun, 9 Jan 2022 01:42:51 +0000 Subject: build: provide a "LAKS" define maybe you're doing something wrong, or maybe you're doing something so so right. Hand people a salmon and let them make that decision. Signed-off-by: Karl Palsson --- build/scons_tools/tool_selectmcu.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/build/scons_tools/tool_selectmcu.py b/build/scons_tools/tool_selectmcu.py index cc88625..7c011c3 100644 --- a/build/scons_tools/tool_selectmcu.py +++ b/build/scons_tools/tool_selectmcu.py @@ -31,6 +31,7 @@ def SelectMCU(env, mcu, variant_dir = None): LIBPATH = ['${LAKS_PATH}/ld_scripts'], LIB_SOURCES = [], + CPPDEFINES = ['LAKS'], ) env.Replace( @@ -49,4 +50,4 @@ def exists(): return True def generate(env): - env.AddMethod(SelectMCU) \ No newline at end of file + env.AddMethod(SelectMCU) -- cgit v1.2.3