aboutsummaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2013-05-27 13:03:45 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2013-05-28 20:50:15 +0200
commitadaff0dfeac2964c8cc15d9d9b900d7f69abc23c (patch)
tree57f06567e8637ecb17ef0801215d078e70b20eec /package
parentfee470d0d3e236b78f7cd0cfbccb40e4ab0e0a48 (diff)
downloadbuildroot-novena-adaff0dfeac2964c8cc15d9d9b900d7f69abc23c.tar.gz
buildroot-novena-adaff0dfeac2964c8cc15d9d9b900d7f69abc23c.zip
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. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package')
-rw-r--r--package/gdb/gdb.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/package/gdb/gdb.mk b/package/gdb/gdb.mk
index 398ef7bbe..5f4a7534f 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