From de30dbbf6895e2de0df08a20f65b116541d4f33b Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Mon, 08 Oct 2012 11:28:42 -0400 Subject: s/_PLATFORM/_PLAT/ in env vars specified by SPF. --- 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 <