mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-18 12:52:44 +01:00
Merge pull request #13432 from miri64/native/cleanup/depr-all-debug
boards/native: add deprecation warnings for `make all-debug`
This commit is contained in:
commit
5f364b76a7
@ -91,15 +91,13 @@ debug-valgrind-server: export VALGRIND_FLAGS ?= --vgdb=yes --vgdb-error=0 -v \
|
||||
--read-var-info=yes
|
||||
term-cachegrind: export CACHEGRIND_FLAGS += --tool=cachegrind
|
||||
term-gprof: TERMPROG = GMON_OUT_PREFIX=gmon.out $(ELFFILE)
|
||||
all-valgrind: CFLAGS += -DHAVE_VALGRIND_H -g3
|
||||
all-valgrind: CFLAGS += -DHAVE_VALGRIND_H
|
||||
all-valgrind: export NATIVEINCLUDES += $(shell pkg-config valgrind --cflags)
|
||||
all-debug: CFLAGS += -g3
|
||||
all-cachegrind: CFLAGS += -g3
|
||||
all-gprof: CFLAGS += -pg
|
||||
all-gprof: LINKFLAGS += -pg
|
||||
all-asan: CFLAGS += -fsanitize=address -fno-omit-frame-pointer -g3
|
||||
all-asan: CFLAGS += -fsanitize=address -fno-omit-frame-pointer
|
||||
all-asan: CFLAGS += -DNATIVE_MEMORY
|
||||
all-asan: LINKFLAGS += -fsanitize=address -fno-omit-frame-pointer -g3
|
||||
all-asan: LINKFLAGS += -fsanitize=address -fno-omit-frame-pointer
|
||||
|
||||
INCLUDES += $(NATIVEINCLUDES)
|
||||
|
||||
@ -130,6 +128,7 @@ endif
|
||||
all: # do not override first target
|
||||
|
||||
all-debug: all
|
||||
@$(COLOR_ECHO) '$(COLOR_RED)`all-debug` is deprecated, just use `all`$(COLOR_RESET)'
|
||||
|
||||
all-gprof: all
|
||||
|
||||
|
@ -20,4 +20,12 @@ OS/RIOT/images/Native.jpg)
|
||||
- PWM: Dummy PWM
|
||||
- QDEC: Emulated according to PWM
|
||||
- SPI: Runtime configurable - `/dev/spidev*` are supported (Linux host only)
|
||||
|
||||
# Building native with debug flags
|
||||
@deprecated `make all-debug` is deprecated; `make all` now builds with debugs
|
||||
flags by default. The target will be removed after the 2020.10
|
||||
release.
|
||||
|
||||
To build with debug flags for `native` use `make all-debug` instead of
|
||||
`make all`
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user