summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Palsson <karlp@tweak.net.au>2022-01-09 02:42:51 +0100
committerVegard Storheil Eriksen <zyp@jvnv.net>2022-01-26 23:40:29 +0100
commit606ea7eb8decc72230e885410734777bda02ea96 (patch)
treee0d8f11bafcee5543df7f16d18f10e48126aff46
parentf8475fc2e82f4ebf5f4c6a73ec889c28e365bf8f (diff)
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 <karlp@tweak.net.au>
-rw-r--r--build/scons_tools/tool_selectmcu.py3
1 files changed, 2 insertions, 1 deletions
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)