X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;f=functions-ipkg;h=23a1e1ab0aa559af4d79f637fdeb1718a662c083;hb=56e6ade2828debbb8210ffba1faa2193cb78d05c;hp=f8669af0d8d18ee79c3b8e582d148ba29994afb2;hpb=b7d1d99f41dcf50a8635f608679947f4455a0c7c;p=hvlinux.git diff --git a/functions-ipkg b/functions-ipkg index f8669af..23a1e1a 100644 --- a/functions-ipkg +++ b/functions-ipkg @@ -11,6 +11,7 @@ function_exists() return $? } +unset -f hvpatch_pre unset -f hvconfig_pre unset -f hvconfig_cache unset -f hvconfig_post @@ -127,6 +128,12 @@ ipkg_script() source ${PACKAGE_DEF} fi + # Execute pre-patch function if applicable + if function_exists hvpatch_pre ; then + echo "Running patch pre-script" + hvpatch_pre + fi + hvpatch # Execute pre-configure function if applicable @@ -144,6 +151,14 @@ ipkg_script() --cache-file=${LFS_TMP}/${PACKAGE}-build/config.cache" fi + # Add option --disable-dependency-tracking if supported + if cat ${LFS_TMP}/${PACKAGE}/configure | \ + grep "disable-dependency-tracking" 1> /dev/null 2>&1; then + CONFIGURE_OPTS="\ + ${CONFIGURE_OPTS} \ + --disable-dependency-tracking" + fi + ipkg_display_build_infos if [ "x${IPKG_MODE}" = "xnoac" ]; then