PANDABOARD.conf revision 282148
138889Sjdp#!/bin/sh
285815Sobrien#
338889Sjdp# $FreeBSD: head/release/arm/PANDABOARD.conf 282148 2015-04-28 15:32:59Z gjb $
438889Sjdp#
585815Sobrien
638889Sjdp# Global variables.
785815Sobrienexport SVNROOT="svn://svn.FreeBSD.org/"
885815Sobrienexport SRCBRANCH="base/head@rHEAD"
985815Sobrienexport DOCBRANCH="doc/head@rHEAD"
1085815Sobrienexport PORTBRANCH="ports/head@rHEAD"
1138889Sjdpexport NODOC=yes
1285815Sobrienexport WORLD_FLAGS="-j $(sysctl -n hw.ncpu)"
1385815Sobrienexport KERNEL_FLAGS="-j $(( $(( $(sysctl -n hw.ncpu) + 1 )) / 2 ))"
1485815Sobrienexport CHROOTDIR="/scratch"
1585815Sobrienexport EMBEDDEDBUILD=1
1638889Sjdpexport EMBEDDEDPORTS="lang/python textproc/gsed"
1785815Sobrien
1885815Sobrien# Build chroot configuration
1985815Sobrienload_chroot_env() {
2038889Sjdp	# Avoid collision with TARGET and XDEV.
2138889Sjdp	unset XDEV XDEV_ARCH KERNEL
2238889Sjdp	export TARGET="amd64"
2338889Sjdp	export TARGET_ARCH="amd64"
2438889Sjdp}
2538889Sjdp
2689857Sobrien# Build target configuration
2738889Sjdpload_target_env() {
2838889Sjdp	# Avoid collision with TARGET and XDEV.
2985815Sobrien	unset TARGET TARGET_ARCH
3038889Sjdp	export XDEV="arm"
3138889Sjdp	export XDEV_ARCH="armv6"
3285815Sobrien	export XDEV_FLAGS="WITH_GCC=1 WITH_GCC_BOOTSTRAP=1 WITHOUT_CLANG_IS_CC=1"
3385815Sobrien	export XDEV_FLAGS="${XDEV_FLAGS} MK_TESTS=no"
3485815Sobrien	export KERNEL="PANDABOARD"
3585815Sobrien	export CROCHETSRC="https://github.com/freebsd/crochet"
3689857Sobrien	export CROCHETBRANCH="trunk@rHEAD"
3789857Sobrien}
3838889Sjdp