aboutsummaryrefslogtreecommitdiff
path: root/package/gdb/gdb.mk
diff options
context:
space:
mode:
authorGravatar Yann E. MORIN <yann.morin.1998@free.fr>2017-03-14 11:30:37 -0700
committerGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2017-03-26 15:50:10 +0200
commitb0cd0b907dd1142ab048223402470772d882622b (patch)
tree418e499e3363f8624e39d99d4c7b887c436f22c2 /package/gdb/gdb.mk
parent96f57fa5e43ee35478a7f0a5788624fc487db798 (diff)
downloadbuildroot-b0cd0b907dd1142ab048223402470772d882622b.tar.gz
buildroot-b0cd0b907dd1142ab048223402470772d882622b.tar.bz2
package/gdb: use macro to extract Xtensa overlay
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Max Filippov <jcmvbkbc@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/gdb/gdb.mk')
-rw-r--r--package/gdb/gdb.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/gdb/gdb.mk b/package/gdb/gdb.mk
index 0e4d384d2d..13b1ab2a69 100644
--- a/package/gdb/gdb.mk
+++ b/package/gdb/gdb.mk
@@ -46,7 +46,7 @@ HOST_GDB_INSTALL_OPTS += MAKEINFO=true install
# Apply the Xtensa specific patches
ifneq ($(ARCH_XTENSA_CORE_NAME),)
define GDB_XTENSA_PRE_PATCH
- tar xf $(ARCH_XTENSA_OVERLAY_TAR) -C $(@D) --strip-components=1 gdb
+ $(call arch-xtensa-overlay-extract,$(@D),gdb)
endef
GDB_PRE_PATCH_HOOKS += GDB_XTENSA_PRE_PATCH
HOST_GDB_PRE_PATCH_HOOKS += GDB_XTENSA_PRE_PATCH