diff options
author | P. 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) |
commit | de30dbbf6895e2de0df08a20f65b116541d4f33b (patch) | |
tree | ada725d22c133dbb5a483aee89075551455c67d9 /src | |
parent | e8dadb4d7571633cb0b1b085c449ad606dec2ebd (diff) |
s/_PLATFORM/_PLAT/ in env vars specified by SPF.
Diffstat (limited to 'src')
-rw-r--r-- | src/opkbuild.sh | 14 |
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() |