summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 /')"