diff --git a/config/path b/config/path index 3f540890a7..f16f18e7e1 100644 --- a/config/path +++ b/config/path @@ -164,9 +164,7 @@ BUILD_INDENT_SIZE=4 # If sourcing a package, configure any package variables dependent on variables we have set if [ -n "$PKG_DIR" -a -r $PKG_DIR/package.mk ]; then - if [ "$(type -t configure_package)" = "function" ]; then - configure_package - fi + pkg_call_optional configure_package fi # multilib? nah