Skip to contentSkip to conversation

libenca: Move build host tool to PRE_BUILD_HOOKS

PATCH New Maxime Hadjinlian 2 participants 3 messages May 5, 2014 – May 8, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 libenca: Move build host tool to PRE_BUILD_HOOKS

The make_hash host tool, should be built during a PRE_BUILD_HOOKS and not a POST_CONFIGURE_HOOKS.

---
 package/libenca/libenca.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
package/libenca/libenca.mk +1 -1
index d998c66..66fcfaa 100644
@@ -21,6 +21,6 @@ define LIBENCA_MAKE_HOST_TOOL
 	$(MAKE) -C $(@D)/tools $(HOST_CONFIGURE_OPTS) make_hash
 endef
 
-LIBENCA_POST_CONFIGURE_HOOKS += LIBENCA_MAKE_HOST_TOOL
+LIBENCA_PRE_BUILD_HOOKS += LIBENCA_MAKE_HOST_TOOL
 
 $(eval $(autotools-package))
Signature · 1 line
1.9.2
#1 lore raw

PATCH 1/1 libenca: Move build host tool to PRE_BUILD_HOOKS

Note that this patch can only be applied if
http://patchwork.ozlabs.org/patch/345719/ is applied first. I can resend as a series if it's needed.

Quoted 23 lines · Maxime Hadjinlian

The make_hash host tool, should be built during a PRE_BUILD_HOOKS and not a POST_CONFIGURE_HOOKS.

---
 package/libenca/libenca.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
package/libenca/libenca.mk +1 -2
index d998c66..66fcfaa 100644
@@ -21,6 +21,6 @@ define LIBENCA_MAKE_HOST_TOOL
        $(MAKE) -C $(@D)/tools $(HOST_CONFIGURE_OPTS) make_hash
 endef
 
-LIBENCA_POST_CONFIGURE_HOOKS += LIBENCA_MAKE_HOST_TOOL
+LIBENCA_PRE_BUILD_HOOKS += LIBENCA_MAKE_HOST_TOOL
 
 $(eval $(autotools-package))
--

1.9.2