mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-28 13:46:32 +00:00
package/gdb: extract Xtensa overlay as post-extract hook
... like it is done for gcc. 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
a1aeddf25b
commit
8ac4d34e51
@ -45,11 +45,11 @@ 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_OVERLAY_EXTRACT
|
||||||
$(call arch-xtensa-overlay-extract,$(@D),gdb)
|
$(call arch-xtensa-overlay-extract,$(@D),gdb)
|
||||||
endef
|
endef
|
||||||
GDB_PRE_PATCH_HOOKS += GDB_XTENSA_PRE_PATCH
|
GDB_POST_EXTRACT_HOOKS += GDB_XTENSA_OVERLAY_EXTRACT
|
||||||
HOST_GDB_PRE_PATCH_HOOKS += GDB_XTENSA_PRE_PATCH
|
HOST_GDB_POST_EXTRACT_HOOKS += GDB_XTENSA_OVERLAY_EXTRACT
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(GDB_FROM_GIT),y)
|
ifeq ($(GDB_FROM_GIT),y)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user