From: Yann E. MORIN Date: Tue, 14 Mar 2017 18:30:40 +0000 (-0700) Subject: package/gdb: extract Xtensa overlay as post-extract hook X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8ac4d34e510b4d653be1680b811a3963f1f8d7c1;p=buildroot.git package/gdb: extract Xtensa overlay as post-extract hook ... like it is done for gcc. Signed-off-by: "Yann E. MORIN" Cc: Thomas Petazzoni Signed-off-by: Max Filippov Signed-off-by: Thomas Petazzoni --- diff --git a/package/gdb/gdb.mk b/package/gdb/gdb.mk index 13b1ab2a69..1cb1776649 100644 --- a/package/gdb/gdb.mk +++ b/package/gdb/gdb.mk @@ -45,11 +45,11 @@ HOST_GDB_INSTALL_OPTS += MAKEINFO=true install # Apply the Xtensa specific patches ifneq ($(ARCH_XTENSA_CORE_NAME),) -define GDB_XTENSA_PRE_PATCH +define GDB_XTENSA_OVERLAY_EXTRACT $(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 +GDB_POST_EXTRACT_HOOKS += GDB_XTENSA_OVERLAY_EXTRACT +HOST_GDB_POST_EXTRACT_HOOKS += GDB_XTENSA_OVERLAY_EXTRACT endif ifeq ($(GDB_FROM_GIT),y)