From: Yann E. MORIN Date: Tue, 14 Mar 2017 18:30:39 +0000 (-0700) Subject: package/binutils: extract Xtensa overlay as post-extract hook X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a1aeddf25b461f549c8fb8315a82dc647696965b;p=buildroot.git package/binutils: extract Xtensa overlay as post-extract hook ... like it is done for gcc. Signed-off-by: "Yann E. MORIN" Cc: Thomas Petazzoni Signed-off-by: Max Filippov Signed-off-by: Thomas Petazzoni --- diff --git a/package/binutils/binutils.mk b/package/binutils/binutils.mk index 5ab346c9e3..7dfe4db9d2 100644 --- a/package/binutils/binutils.mk +++ b/package/binutils/binutils.mk @@ -122,11 +122,11 @@ endef endif ifneq ($(ARCH_XTENSA_CORE_NAME),) -define BINUTILS_XTENSA_PRE_PATCH +define BINUTILS_XTENSA_OVERLAY_EXTRACT $(call arch-xtensa-overlay-extract,$(@D),binutils) endef -BINUTILS_PRE_PATCH_HOOKS += BINUTILS_XTENSA_PRE_PATCH -HOST_BINUTILS_PRE_PATCH_HOOKS += BINUTILS_XTENSA_PRE_PATCH +BINUTILS_POST_EXTRACT_HOOKS += BINUTILS_XTENSA_OVERLAY_EXTRACT +HOST_BINUTILS_POST_EXTRACT_HOOKS += BINUTILS_XTENSA_OVERLAY_EXTRACT endif ifeq ($(BR2_BINUTILS_ENABLE_LTO),y)