diff --git a/package/gdb/gdb.mk b/package/gdb/gdb.mk index 398ef7bbe8..5f4a7534f2 100644 --- a/package/gdb/gdb.mk +++ b/package/gdb/gdb.mk @@ -48,6 +48,7 @@ define GDB_XTENSA_PRE_PATCH tar xf $(BR2_XTENSA_OVERLAY_DIR)/xtensa_$(XTENSA_CORE_NAME).tar \ -C $(@D) --strip-components=1 gdb endef +GDB_PRE_PATCH_HOOKS += GDB_XTENSA_PRE_PATCH HOST_GDB_PRE_PATCH_HOOKS += GDB_XTENSA_PRE_PATCH endif