path: root/release/release.conf.sample
diff options
authorGlen Barber <gjb@FreeBSD.org>2014-01-19 22:25:57 +0000
committerGlen Barber <gjb@FreeBSD.org>2014-01-19 22:25:57 +0000
commitb479fd538c90f0f6b97a81d7931405ce7889f6f4 (patch)
tree622512bf4d403263c6c1966275765977ab067e1f /release/release.conf.sample
parent37c587b8a1fbe67730fb7fde6efb5c4962ab6229 (diff)
When bootstrapping the build chroot, the default environment is
set up for the amd64/amd64 TARGET/TARGET_ARCH combination. Some of the build tools used here (u-boot in particular) require use of gcc(1). The lang/gcc* from ports/ will install as 'gccNN' instead of 'gcc', so they cannot be used without extra hacks. Add an EMBEDDED_WORLD_FLAGS variable to be used to properly set up the build chroot. For the RPI-B case, EMBEDDED_WORLD_FLAGS is set to 'WITH_GCC=1', which is used to set up the build chroot. While here, in followup to r260895, do not rely on the necessary configuration files and/or scripts to exist in the build target src/ tree. To work around cases where files do not exist, copy (from the local release/ checkout) the tools/${XDEV}/crochet-${KERNEL}.conf to ${CHROOTDIR}/tmp/external/crochet-${KERNEL}.conf to make them accessible to the external utilities that need them (i.e., crochet). Sponsored by: The FreeBSD Foundation
Notes: svn path=/user/gjb/hacking/release-embedded/; revision=260896
Diffstat (limited to 'release/release.conf.sample')
1 files changed, 8 insertions, 0 deletions
diff --git a/release/release.conf.sample b/release/release.conf.sample
index 882f911b31fd..870d6169cf67 100644
--- a/release/release.conf.sample
+++ b/release/release.conf.sample
@@ -40,3 +40,11 @@ PORTBRANCH="ports/head@rHEAD"
+## Set when building embedded images.
+## Set to specify userland-specific make(1) flags that affect the
+## build chroot environment.