Skip to content

Commit

Permalink
sys/log_color: move dependency resolution in its own Makefile.dep
Browse files Browse the repository at this point in the history
  • Loading branch information
aabadie committed Jun 15, 2023
1 parent 2b65824 commit cc27ff2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
6 changes: 0 additions & 6 deletions sys/Makefile.dep
Original file line number Diff line number Diff line change
Expand Up @@ -360,12 +360,6 @@ ifneq (,$(filter log_%,$(USEMODULE)))
USEMODULE += log
endif

ifneq (,$(filter log_color,$(USEMODULE)))
# log_color fails to compile with -Wformat-nonliteral but this is required
# for the wrapped stdio that pushes the format string into progmem
FEATURES_BLACKLIST += arch_avr8
endif

ifneq (,$(filter cpp11-compat,$(USEMODULE)))
USEMODULE += cpp_new_delete
USEMODULE += ztimer64_usec
Expand Down
3 changes: 3 additions & 0 deletions sys/log_color/Makefile.dep
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# log_color fails to compile with -Wformat-nonliteral but this is required
# for the wrapped stdio that pushes the format string into progmem
FEATURES_BLACKLIST += arch_avr8

0 comments on commit cc27ff2

Please sign in to comment.