summaryrefslogtreecommitdiff
path: root/examples/make.mk
diff options
context:
space:
mode:
authorHa Thach <[email protected]>2023-05-19 18:39:21 +0700
committerGitHub <[email protected]>2023-05-19 18:39:21 +0700
commitc998e9c60bc76894006c3bd049d661124a9bfbfd (patch)
tree0459812c4a53c81e2456453b919a05f194d35f6d /examples/make.mk
parent6ecd4800061ac72421bf3e33468ee670c2d9ae55 (diff)
parent9f0bae4c3fb687b8a3c1e6df84512ec48690369f (diff)
Merge pull request #2069 from hathach/minor-build-system
Minor build system
Diffstat (limited to 'examples/make.mk')
-rw-r--r--examples/make.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/examples/make.mk b/examples/make.mk
index 2ce6fb398..28ebc62da 100644
--- a/examples/make.mk
+++ b/examples/make.mk
@@ -2,6 +2,8 @@
# Common make definition for all examples
# ---------------------------------------
+TOOLCHAIN ?= gcc
+
#-------------- TOP and CURRENT_PATH ------------
# Set TOP to be the path to get from the current directory (where make was
@@ -75,6 +77,7 @@ else
endif
#-------------- Cross Compiler ------------
+
# Can be set by board, default to ARM GCC
CROSS_COMPILE ?= arm-none-eabi-