boards: Makefile.include.gnu: Use GDBPREFIX for GDB
GDB can be built as multitarget which can debug multiple architectures and is often installed without a target prefix.
This commit is contained in:
parent
26b9e9acea
commit
02fe7c5d76
@ -1,3 +1,4 @@
|
||||
export GDBPREFIX ?= $(PREFIX)
|
||||
export CC = $(PREFIX)gcc
|
||||
export CXX = $(PREFIX)g++
|
||||
export AR = $(PREFIX)ar
|
||||
@ -5,4 +6,4 @@ export AS = $(PREFIX)as
|
||||
export LINK = $(PREFIX)gcc
|
||||
export SIZE = $(PREFIX)size
|
||||
export OBJCOPY = $(PREFIX)objcopy
|
||||
export DBG = $(PREFIX)gdb
|
||||
export DBG = $(GDBPREFIX)gdb
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user