summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorP. J. McDermott <pjm@nac.net>2012-11-15 14:56:18 (EST)
committer P. J. McDermott <pjm@nac.net>2012-11-15 14:56:18 (EST)
commitdc887cb3e228fdbd7294268e72f410c5e4731d44 (patch)
treedba7921a5a37d3808701185b0a60802363a7ad55
parent6b23e5cd3113edc66a5cc276ffc26be24b99154f (diff)
Reduce platforms for OPK_PACKAGES.
-rw-r--r--src/opkbuild.sh8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/opkbuild.sh b/src/opkbuild.sh
index d72fc60..59addf1 100644
--- a/src/opkbuild.sh
+++ b/src/opkbuild.sh
@@ -302,8 +302,12 @@ print_arch_stats()
setup_build()
{
- OPK_PACKAGES="$(ob_get_binary_packages -a "${OPK_HOST_ARCH}") $(
- ob_get_binary_packages -a 'all')"
+ OPK_PACKAGES="
+ $(ob_get_binary_packages -a "${OPK_HOST_ARCH}" -P "${OPK_HOST_PLAT}")
+ $(ob_get_binary_packages -a "${OPK_HOST_ARCH}" -P 'all')
+ $(ob_get_binary_packages -a 'all' -P "${OPK_HOST_PLAT}")
+ $(ob_get_binary_packages -a 'all' -P 'all')
+ "
eval "$('@@BINDIR@@/ob-buildenv' | sed 's/^/export /')"