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>
This commit is contained in:
parent
96f57fa5e4
commit
b0cd0b907d
@ -46,7 +46,7 @@ HOST_GDB_INSTALL_OPTS += MAKEINFO=true install
|
|||||||
# Apply the Xtensa specific patches
|
# Apply the Xtensa specific patches
|
||||||
ifneq ($(ARCH_XTENSA_CORE_NAME),)
|
ifneq ($(ARCH_XTENSA_CORE_NAME),)
|
||||||
define GDB_XTENSA_PRE_PATCH
|
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
|
endef
|
||||||
GDB_PRE_PATCH_HOOKS += GDB_XTENSA_PRE_PATCH
|
GDB_PRE_PATCH_HOOKS += GDB_XTENSA_PRE_PATCH
|
||||||
HOST_GDB_PRE_PATCH_HOOKS += GDB_XTENSA_PRE_PATCH
|
HOST_GDB_PRE_PATCH_HOOKS += GDB_XTENSA_PRE_PATCH
|
||||||
|
Loading…
Reference in New Issue
Block a user