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:
Joakim Gebart 2015-05-27 22:38:38 +02:00 committed by Hauke Petersen
parent 26b9e9acea
commit 02fe7c5d76

View File

@ -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