libenca: Move build host tool to PRE_BUILD_HOOKS
authorMaxime Hadjinlian <maxime.hadjinlian@gmail.com>
Mon, 3 Feb 2014 01:18:32 +0000 (02:18 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Fri, 7 Mar 2014 21:54:47 +0000 (22:54 +0100)
The make_hash host tool, should be built during a PRE_BUILD_HOOKS and
not a POST_CONFIGURE_HOOKS.

Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/libenca/libenca.mk

index d998c669d51f351127ae867cdaac69a8ca136e08..66fcfaa2eac5145ef01552fe9c2eb29012c1a046 100644 (file)
@@ -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))