summaryrefslogtreecommitdiffstats
path: root/src/opkbuild.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/opkbuild.sh')
-rw-r--r--src/opkbuild.sh15
1 files changed, 13 insertions, 2 deletions
diff --git a/src/opkbuild.sh b/src/opkbuild.sh
index fbda51c..a54b74f 100644
--- a/src/opkbuild.sh
+++ b/src/opkbuild.sh
@@ -227,6 +227,15 @@ EOF
IFS=- read OPK_HOST_ARCH_CPU OPK_HOST_ARCH_KERNEL OPK_HOST_ARCH_LIBS <<EOF
${OPK_HOST_ARCH}
EOF
+
+ {
+ read OPK_BUILD_ARCH_GNU
+ read OPK_BUILD_ARCH_KBUILD
+ } <"$(ob_get_system_path 'archtab' "${OPK_BUILD_ARCH}")"
+ {
+ read OPK_HOST_ARCH_GNU
+ read OPK_HOST_ARCH_KBUILD
+ } <"$(ob_get_system_path 'archtab' "${OPK_HOST_ARCH}")"
}
make_work_area()
@@ -283,10 +292,12 @@ build_source()
print_arch_stats()
{
ob_info "$(ob_get_msg 'build_arch_stat_header')"
- ob_info "$(ob_get_msg 'arch_stat_arch')" "${OPK_BUILD_ARCH}"
+ ob_info "$(ob_get_msg 'arch_stat_arch')" \
+ "${OPK_BUILD_ARCH}" "${OPK_BUILD_ARCH_GNU}"
ob_info "$(ob_get_msg 'arch_stat_plat')" "${OPK_BUILD_PLAT}"
ob_info "$(ob_get_msg 'host_arch_stat_header')"
- ob_info "$(ob_get_msg 'arch_stat_arch')" "${OPK_HOST_ARCH}"
+ ob_info "$(ob_get_msg 'arch_stat_arch')" \
+ "${OPK_HOST_ARCH}" "${OPK_HOST_ARCH_GNU}"
ob_info "$(ob_get_msg 'arch_stat_plat')" "${OPK_HOST_PLAT}"
}