Skip to content

Commit

Permalink
Fix to print debug filename. (#2590)
Browse files Browse the repository at this point in the history
* Better fix thanks to @mike47.
  • Loading branch information
slaff authored Dec 7, 2022
1 parent bc863c1 commit 394d1e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sming/component.mk
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ CONFIG_VARS += DEBUG_PRINT_FILENAME_AND_LINE
DEBUG_PRINT_FILENAME_AND_LINE ?= 0
GLOBAL_CFLAGS += -DDEBUG_PRINT_FILENAME_AND_LINE=$(DEBUG_PRINT_FILENAME_AND_LINE)
# When rules are created make will see '$*' so substitute the filename
GLOBAL_CFLAGS += -DCUST_FILE_BASE=$$*
GLOBAL_CFLAGS += -DCUST_FILE_BASE=$$$$(subst $$(SMING_HOME)/,,$$$$<)

# Default debug verbose level is INFO, where DEBUG=3 INFO=2 WARNING=1 ERROR=0
CONFIG_VARS += DEBUG_VERBOSE_LEVEL
Expand Down

0 comments on commit 394d1e0

Please sign in to comment.