Message ID | 1369695664-5670-4-git-send-email-thomas.petazzoni@free-electrons.com |
---|---|
State | Accepted |
Commit | dc3e6500577b18309699e957257f2d4966790c83 |
Headers | show |
>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@free-electrons.com> 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.
diff --git a/package/binutils/binutils.mk b/package/binutils/binutils.mk index 081be6a..a2c4150 100644 --- a/package/binutils/binutils.mk +++ b/package/binutils/binutils.mk @@ -81,6 +81,7 @@ define BINUTILS_XTENSA_PRE_PATCH tar xf $(BR2_XTENSA_OVERLAY_DIR)/xtensa_$(XTENSA_CORE_NAME).tar \ -C $(@D) --strip-components=1 binutils endef +BINUTILS_PRE_PATCH_HOOKS += BINUTILS_XTENSA_PRE_PATCH HOST_BINUTILS_PRE_PATCH_HOOKS += BINUTILS_XTENSA_PRE_PATCH endif
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> --- package/binutils/binutils.mk | 1 + 1 file changed, 1 insertion(+)