Skip to contentSkip to conversation

gdb: apply post-patch hook on both the host and target builds

PATCH New Thomas Petazzoni 2 participants 2 messages May 27, 2013 – May 28, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 gdb: apply post-patch hook on both the host and target builds

When a Xtensa specific patch needs to be applied, it should be applied both when doing the target and the host build.

This change is part of the effort to remove the differences between host and target post-extract and post-patch hooks, that are problematic for the out-of-tree support.

---
 package/gdb/gdb.mk |    1 +
 1 file changed, 1 insertion(+)
package/gdb/gdb.mk +1 -0
index 398ef7b..5f4a753 100644
@@ -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
 
Signature · 1 line
1.7.9.5
#1 lore raw

PATCH 1/1 gdb: apply post-patch hook on both the host and target builds

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Thomas" == Thomas Petazzoni <[email protected]> writes:

Thomas> When a Xtensa specific patch needs to be applied, it should be applied Thomas> both when doing the target and the host build.

Thomas> This change is part of the effort to remove the differences between Thomas> host and target post-extract and post-patch hooks, that are Thomas> problematic for the out-of-tree support.

Committed to next, thanks.

Signature · 1 line
Bye, Peter Korsgaard