package/gcc: fix ARC failure to build in 2 phases.
authorTal Zilcer <talz@ezchip.com>
Thu, 2 Jul 2015 14:44:54 +0000 (17:44 +0300)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thu, 2 Jul 2015 21:44:28 +0000 (23:44 +0200)
When working with GCC initial at override source dir mode the
HOST_GCC_INITIAL_POST_PATCH_HOOKS is not called and compilation failes.
The solution is to use HOST_GCC_INITIAL_POST_RSYNC_HOOKS since this hook
is being called at override source dir mode.

Signed-off-by: Tal Zilcer <talz@ezchip.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/gcc/gcc-initial/gcc-initial.mk

index 0fa235336b447a1e14d467a7a0ae920c1d81fb08..6bb7997b9f803be25d27497b7df1caec984f2420 100644 (file)
@@ -34,6 +34,7 @@ define HOST_GCC_INITIAL_DISABLE_LIBGMON
                $(@D)/libgcc/config.host
 endef
 HOST_GCC_INITIAL_POST_PATCH_HOOKS += HOST_GCC_INITIAL_DISABLE_LIBGMON
+HOST_GCC_INITIAL_POST_RSYNC_HOOKS += HOST_GCC_INITIAL_DISABLE_LIBGMON
 endif
 
 HOST_GCC_INITIAL_CONF_OPTS = \