Skip to content

Commit

Permalink
make: Add passing TOOLCHAIN as define
Browse files Browse the repository at this point in the history
JIRA: DEND-32 DTR-408
  • Loading branch information
anglov committed Sep 19, 2023
1 parent ba97f80 commit 9bd4b44
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Makefile.common
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,12 @@ CXXFLAGS += $(OLVL)
CPPFLAGS += -D__TARGET_$(call uppercase,$(TARGET_FAMILY))
CPPFLAGS += -D__CPU_$(call uppercase,$(TARGET_SUBFAMILY))

WATCHDOG ?= 1
ifeq ($(WATCHDOG), 1)
CPPFLAGS += -DWATCHDOG
endif
undefine WATCHDOG

#
# Generic rules
#
Expand Down

0 comments on commit 9bd4b44

Please sign in to comment.