summaryrefslogtreecommitdiff
path: root/build/scons_tools
diff options
context:
space:
mode:
authorVegard Storheil Eriksen <zyp@jvnv.net>2023-05-03 22:45:17 +0200
committerVegard Storheil Eriksen <zyp@jvnv.net>2023-05-03 22:45:17 +0200
commit9fa557e5439ba42c12e469335443562891e2ca76 (patch)
treee8d3c9b7a29cc01a16a0328c77a31f3b6e2a7924 /build/scons_tools
parentd381db5b1f6a7d7897056adb84ea24f18f2dd0b8 (diff)
build: Allow other tools to add to paths.dev_v2
Diffstat (limited to 'build/scons_tools')
-rw-r--r--build/scons_tools/tool_selectmcu.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/build/scons_tools/tool_selectmcu.py b/build/scons_tools/tool_selectmcu.py
index 38b154d..26f018e 100644
--- a/build/scons_tools/tool_selectmcu.py
+++ b/build/scons_tools/tool_selectmcu.py
@@ -46,9 +46,6 @@ def SelectMCU(env, mcu, variant_dir = None, patch = None):
ASFLAGS = Split('-c -x assembler-with-cpp'),
LINKFLAGS = Split('-Wall -nostartfiles -Wl,-T${LINK_SCRIPT} -Wl,--gc-sections'),
- CPPPATH = ['${LAKS_PATH}'],
- LIBPATH = ['${LAKS_PATH}/ld_scripts'],
-
LIB_SOURCES = [],
CPPDEFINES = ['LAKS'],
)
@@ -61,6 +58,9 @@ def SelectMCU(env, mcu, variant_dir = None, patch = None):
CCFLAGS = spec.get('cflags', []),
LINKFLAGS = spec.get('cflags', []),
CPPDEFINES = spec.get('define', []),
+
+ CPPPATH = ['${LAKS_PATH}'],
+ LIBPATH = ['${LAKS_PATH}/ld_scripts'],
)
env.SConscript('${LAKS_PATH}/SConscript', variant_dir = variant_dir, exports = 'env')