mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 21:26:49 +00:00
scripts/build: convert to build_msg
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
This commit is contained in:
parent
b45ba9f596
commit
5963b74670
@ -209,11 +209,10 @@ for p in $_pkg_depends; do
|
|||||||
done
|
done
|
||||||
|
|
||||||
if [ "${BUILD_WITH_DEBUG}" = "yes" ]; then
|
if [ "${BUILD_WITH_DEBUG}" = "yes" ]; then
|
||||||
printf "%${BUILD_INDENT}c $(print_color CLR_BUILD "BUILD") $PACKAGE_NAME $(print_color CLR_TARGET "($TARGET)") [DEBUG]\n" ' '>&$SILENT_OUT
|
build_msg "CLR_BUILD" "BUILD" "${PACKAGE_NAME} $(print_color "CLR_TARGET" "(${TARGET})") [DEBUG]" "indent"
|
||||||
else
|
else
|
||||||
printf "%${BUILD_INDENT}c $(print_color CLR_BUILD "BUILD") $PACKAGE_NAME $(print_color CLR_TARGET "($TARGET)")\n" ' '>&$SILENT_OUT
|
build_msg "CLR_BUILD" "BUILD" "${PACKAGE_NAME} $(print_color "CLR_TARGET" "(${TARGET})")" "indent"
|
||||||
fi
|
fi
|
||||||
export BUILD_INDENT=$((${BUILD_INDENT:-1}+$BUILD_INDENT_SIZE))
|
|
||||||
|
|
||||||
# virtual packages dont must be build, they only contains dependencies, so dont go further here
|
# virtual packages dont must be build, they only contains dependencies, so dont go further here
|
||||||
if [ "$PKG_SECTION" = "virtual" ]; then
|
if [ "$PKG_SECTION" = "virtual" ]; then
|
||||||
@ -267,7 +266,7 @@ fi
|
|||||||
if ! listcontains "meson cmake cmake-make configure ninja make autotools manual" "$PKG_TOOLCHAIN"; then
|
if ! listcontains "meson cmake cmake-make configure ninja make autotools manual" "$PKG_TOOLCHAIN"; then
|
||||||
die "$(print_color bold-red "ERROR:") unknown toolchain $PKG_TOOLCHAIN"
|
die "$(print_color bold-red "ERROR:") unknown toolchain $PKG_TOOLCHAIN"
|
||||||
fi
|
fi
|
||||||
printf "%${BUILD_INDENT}c $(print_color CLR_TOOLCHAIN "TOOLCHAIN") $PKG_TOOLCHAIN${_auto_toolchain}\n" ' '>&$SILENT_OUT
|
build_msg "CLR_TOOLCHAIN" "TOOLCHAIN" "${PKG_TOOLCHAIN}${_auto_toolchain}"
|
||||||
|
|
||||||
# make autoreconf
|
# make autoreconf
|
||||||
if [ "$PKG_TOOLCHAIN" = "autotools" ]; then
|
if [ "$PKG_TOOLCHAIN" = "autotools" ]; then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user