From db131a04978faeba3c267c2f4ece2f8ecb8f382e Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Sun, 22 Apr 2012 18:34:10 -0400 Subject: Set build architecture variables. --- diff --git a/src/opkbuild.sh b/src/opkbuild.sh index a9f87d8..4bd6046 100644 --- a/src/opkbuild.sh +++ b/src/opkbuild.sh @@ -179,13 +179,20 @@ version=$(oh_get_field Version) export OH_SRCPKG="${srcpkg}" export OH_PKGVER=${version} -# Set environment variables for the build configuration. -export OH_HOST_PLATFORM="${host_platform}" +# Set environment variables for the build architecture. +export OH_BUILD_ARCH_DIST="${build_arch}" +IFS=- read OH_BUILD_ARCH_CPU OH_BUILD_ARCH_KERNEL OH_BUILD_ARCH_LIBS <