summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorP. J. McDermott <pjm@nac.net>2012-10-08 11:28:42 (EDT)
committer P. J. McDermott <pjm@nac.net>2012-10-08 11:28:42 (EDT)
commitde30dbbf6895e2de0df08a20f65b116541d4f33b (patch)
treeada725d22c133dbb5a483aee89075551455c67d9 /src
parente8dadb4d7571633cb0b1b085c449ad606dec2ebd (diff)
s/_PLATFORM/_PLAT/ in env vars specified by SPF.
Diffstat (limited to 'src')
-rw-r--r--src/opkbuild.sh14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/opkbuild.sh b/src/opkbuild.sh
index 21c6e1a..38fb663 100644
--- a/src/opkbuild.sh
+++ b/src/opkbuild.sh
@@ -34,13 +34,13 @@ export OPK_BUILD_ARCH=
export OPK_BUILD_ARCH_CPU=
export OPK_BUILD_ARCH_KERNEL=
export OPK_BUILD_ARCH_LIBS=
-export OPK_BUILD_PLATFORM=
+export OPK_BUILD_PLAT=
export OPK_BUILD_ARCH_GNU=
export OPK_HOST_ARCH=
export OPK_HOST_ARCH_CPU=
export OPK_HOST_ARCH_KERNEL=
export OPK_HOST_ARCH_LIBS=
-export OPK_HOST_PLATFORM=
+export OPK_HOST_PLAT=
export OPK_HOST_ARCH_GNU=
opt_build=
@@ -211,7 +211,7 @@ setup_arch_plat()
ob_info "$(ob_get_msg 'setup_arch_plat')"
OPK_BUILD_ARCH="$(ob_get_system_arch)"
- OPK_BUILD_PLATFORM="$(ob_get_system_plat)"
+ OPK_BUILD_PLAT="$(ob_get_system_plat)"
if [ -n "${opt_host_arch}" ]; then
OPK_HOST_ARCH="${opt_host_arch}"
@@ -220,9 +220,9 @@ setup_arch_plat()
fi
if [ -n "${opt_host_plat}" ]; then
- OPK_HOST_PLATFORM="${opt_host_plat}"
+ OPK_HOST_PLAT="${opt_host_plat}"
else
- OPK_HOST_PLATFORM="${OPK_BUILD_PLATFORM}"
+ OPK_HOST_PLAT="${OPK_BUILD_PLAT}"
fi
IFS=- read OPK_BUILD_ARCH_CPU OPK_BUILD_ARCH_KERNEL OPK_BUILD_ARCH_LIBS <<EOF
@@ -288,10 +288,10 @@ 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_plat')" "${OPK_BUILD_PLATFORM}"
+ 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_plat')" "${OPK_HOST_PLATFORM}"
+ ob_info "$(ob_get_msg 'arch_stat_plat')" "${OPK_HOST_PLAT}"
}
setup_build()