summaryrefslogtreecommitdiffstats
path: root/release
diff options
context:
space:
mode:
authorgjb <gjb@FreeBSD.org>2016-08-12 19:06:29 +0000
committergjb <gjb@FreeBSD.org>2016-08-12 19:06:29 +0000
commit97c92c65a25667eb9e67f3e92577d1f10c3cdded (patch)
tree9181b657179ca0e13987c2b724dcb33cd902450d /release
parent0807be01c7ebb57669e3d8e749d0e6117b1a0d6d (diff)
downloadFreeBSD-src-97c92c65a25667eb9e67f3e92577d1f10c3cdded.zip
FreeBSD-src-97c92c65a25667eb9e67f3e92577d1f10c3cdded.tar.gz
MFC r303897:
Pass overrides to make(1) when building ports for arm/armv6 targets, similar to what is done for the run-autotools-fixup override for non-arm targets. Sponsored by: The FreeBSD Foundation
Diffstat (limited to 'release')
-rwxr-xr-xrelease/release.sh8
1 files changed, 7 insertions, 1 deletions
diff --git a/release/release.sh b/release/release.sh
index 07485c9..8216239 100755
--- a/release/release.sh
+++ b/release/release.sh
@@ -287,9 +287,15 @@ extra_chroot_setup() {
fi
if [ ! -z "${EMBEDDEDPORTS}" ]; then
+ _OSVERSION=$(chroot ${CHROOTDIR} /usr/bin/uname -U)
+ REVISION=$(chroot ${CHROOTDIR} make -C /usr/src/release -V REVISION)
+ BRANCH=$(chroot ${CHROOTDIR} make -C /usr/src/release -V BRANCH)
+ PBUILD_FLAGS="OSVERSION=${_OSVERSION} BATCH=yes"
+ PBUILD_FLAGS="${PBUILD_FLAGS} UNAME_r=${UNAME_r}"
+ PBUILD_FLAGS="${PBUILD_FLAGS} OSREL=${REVISION}"
for _PORT in ${EMBEDDEDPORTS}; do
eval chroot ${CHROOTDIR} make -C /usr/ports/${_PORT} \
- BATCH=1 FORCE_PKG_REGISTER=1 install clean distclean
+ FORCE_PKG_REGISTER=1 ${PBUILD_FLAGS} install clean distclean
done
fi
OpenPOWER on IntegriCloud