X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;f=functions-ac;h=618c47f9a4fdf861405ed35e33ecc67245d9b0b5;hb=412b89d97179a9911e948d19ee7ea1742266dd4f;hp=d4b3fbf5961f134ac7d963675a7b29a3b66002b5;hpb=0028eaa73ae0c3bd1dbf90c4bd508ae705bc386f;p=hvlinux.git diff --git a/functions-ac b/functions-ac index d4b3fbf..618c47f 100644 --- a/functions-ac +++ b/functions-ac @@ -11,8 +11,8 @@ function_exists() return $? } -unset -f hvconfig_cache unset -f hvconfig_pre +unset -f hvconfig_cache unset -f hvconfig_post unset -f hvbuild_post @@ -44,9 +44,6 @@ ipkg_decompress_package() # Default configure function hvconfig() { - echo "Running configure with options:" - echo " <${CONFIGURE_OPTS}>" - if [ "x${IPKG_MODE}" = "xacnb" ]; then # Broken autoconf package that must build in source dir cd ${LFS_TMP}/${PACKAGE} @@ -113,19 +110,22 @@ ipkg_script() hvpatch + # Execute pre-configure function if applicable + if function_exists hvconfig_pre ; then + echo "Running configure pre-script" + hvconfig_pre + fi + # Execute config-cache function if applicable if function_exists hvconfig_cache ; then echo "Running configure cache script" hvconfig_cache - - CONFIGURE_OPTS="${CONFIGURE_OPTS} --cache-file=${LFS_TMP}/${PACKAGE}-build/config.cache" + CONFIGURE_OPTS="\ + ${CONFIGURE_OPTS} \ + --cache-file=${LFS_TMP}/${PACKAGE}-build/config.cache" fi - # Execute pre-configure function if applicable - if function_exists hvconfig_pre ; then - echo "Running configure pre-script" - hvconfig_pre - fi + ipkg_display_build_infos if [ "x${IPKG_MODE}" = "xnoac" ]; then echo "Not calling configure because ${PACKAGE} has no configure script" @@ -146,4 +146,6 @@ ipkg_script() echo "Running build post-script" hvbuild_post fi + + ipkg_finish }