freebsd-dev/release/arm/BEAGLEBONE.conf
Glen Barber ace79aa796 Fix building BEAGLEBONE images with Crochet using the
sysutils/u-boot-beaglebone port:

 - In arm/BEAGLEBONE.conf, set EMBEDDEDPORTS to the
   sysutils/u-boot-beaglebone port.
 - In arm/release.sh, remove BEAGLEBONE from setting WANT_UBOOT
 - In tools/arm/crochet-BEAGLEBONE.conf, override the
   beaglebone_check_uboot(), and set BEAGLEBONE_UBOOT to
   /tmp/external/u-boot-beaglebone, and create symlinks to the
   u-boot files in /usr/local/share/u-boot-beaglebone and the
   uEnv.txt file in crochet/board/Beaglebone/files.

Sponsored by:	The FreeBSD Foundation
2015-05-05 21:08:50 +00:00

39 lines
1.0 KiB
Bash

#!/bin/sh
#
# $FreeBSD$
#
# Global variables.
export SVNROOT="svn://svn.FreeBSD.org/"
export SRCBRANCH="base/head@rHEAD"
export DOCBRANCH="doc/head@rHEAD"
export PORTBRANCH="ports/head@rHEAD"
export NODOC=yes
export WORLD_FLAGS="-j $(sysctl -n hw.ncpu)"
export KERNEL_FLAGS="-j $(( $(( $(sysctl -n hw.ncpu) + 1 )) / 2 ))"
export CHROOTDIR="/scratch"
export EMBEDDEDBUILD=1
export EMBEDDEDPORTS="sysutils/u-boot-beaglebone"
# Build chroot configuration
load_chroot_env() {
# Avoid collision with TARGET and XDEV.
unset XDEV XDEV_ARCH KERNEL
export TARGET="amd64"
export TARGET_ARCH="amd64"
}
# Build target configuration
load_target_env() {
# Avoid collision with TARGET and XDEV.
unset TARGET TARGET_ARCH
export EMBEDDEDPORTS="lang/python textproc/gsed"
export XDEV="arm"
export XDEV_ARCH="armv6"
export XDEV_FLAGS="WITH_GCC=1 WITH_GCC_BOOTSTRAP=1 WITHOUT_CLANG_IS_CC=1"
export XDEV_FLAGS="${XDEV_FLAGS} MK_TESTS=no"
export KERNEL="BEAGLEBONE"
export CROCHETSRC="https://github.com/freebsd/crochet"
export CROCHETBRANCH="trunk@rHEAD"
}