summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/opkbuild.sh12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/opkbuild.sh b/src/opkbuild.sh
index 64c27b6..4aa133a 100644
--- a/src/opkbuild.sh
+++ b/src/opkbuild.sh
@@ -88,6 +88,8 @@ main()
eval "$(ob-buildenv | sed 's/^/export /')"
+ print_arch_stats
+
ob-unpacksource
ob-applypatches
ob-installplatconf
@@ -283,4 +285,14 @@ build_source()
rm -Rf "src:${src}.data" || ob_error "$(ob_get_msg 'cant_rm_src_pkg_data')"
}
+print_arch_stats()
+{
+ ob_info "$(ob_get_msg 'build_arch_stat_header')"
+ ob_info "$(ob_get_msg 'arch_stat_arch')" "${OB_BUILD_ARCH}"
+ ob_info "$(ob_get_msg 'arch_stat_plat')" "${OB_BUILD_PLATFORM}"
+ ob_info "$(ob_get_msg 'host_arch_stat_header')"
+ ob_info "$(ob_get_msg 'arch_stat_arch')" "${OB_HOST_ARCH}"
+ ob_info "$(ob_get_msg 'arch_stat_plat')" "${OB_HOST_PLATFORM}"
+}
+
main "${@}"