svn commit: r303897 - head/release
Glen Barber
gjb at FreeBSD.org
Tue Aug 9 22:48:47 UTC 2016
Author: gjb
Date: Tue Aug 9 22:48:46 2016
New Revision: 303897
URL: https://svnweb.freebsd.org/changeset/base/303897
Log:
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.
MFC after: 3 days
Tested on: 12-CURRENT building 10-STABLE
Sponsored by: The FreeBSD Foundation
Modified:
head/release/release.sh
Modified: head/release/release.sh
==============================================================================
--- head/release/release.sh Tue Aug 9 22:10:40 2016 (r303896)
+++ head/release/release.sh Tue Aug 9 22:48:46 2016 (r303897)
@@ -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
More information about the svn-src-head
mailing list