1#!/bin/sh
2#
3# $FreeBSD: head/release/arm/PANDABOARD.conf 282148 2015-04-28 15:32:59Z gjb $
4#
5
6# Global variables.
7export SVNROOT="svn://svn.FreeBSD.org/"
8export SRCBRANCH="base/head@rHEAD"
9export DOCBRANCH="doc/head@rHEAD"
10export PORTBRANCH="ports/head@rHEAD"
11export NODOC=yes
12export WORLD_FLAGS="-j $(sysctl -n hw.ncpu)"
13export KERNEL_FLAGS="-j $(( $(( $(sysctl -n hw.ncpu) + 1 )) / 2 ))"
14export CHROOTDIR="/scratch"
15export EMBEDDEDBUILD=1
16export EMBEDDEDPORTS="lang/python textproc/gsed"
17
18# Build chroot configuration
19load_chroot_env() {
20 # Avoid collision with TARGET and XDEV.
21 unset XDEV XDEV_ARCH KERNEL
22 export TARGET="amd64"
23 export TARGET_ARCH="amd64"
24}
25
26# Build target configuration
27load_target_env() {
28 # Avoid collision with TARGET and XDEV.
29 unset TARGET TARGET_ARCH
30 export XDEV="arm"
31 export XDEV_ARCH="armv6"
32 export XDEV_FLAGS="WITH_GCC=1 WITH_GCC_BOOTSTRAP=1 WITHOUT_CLANG_IS_CC=1"
33 export XDEV_FLAGS="${XDEV_FLAGS} MK_TESTS=no"
34 export KERNEL="PANDABOARD"
35 export CROCHETSRC="https://github.com/freebsd/crochet"
36 export CROCHETBRANCH="trunk@rHEAD"
37}
2#
3# $FreeBSD: head/release/arm/PANDABOARD.conf 282148 2015-04-28 15:32:59Z gjb $
4#
5
6# Global variables.
7export SVNROOT="svn://svn.FreeBSD.org/"
8export SRCBRANCH="base/head@rHEAD"
9export DOCBRANCH="doc/head@rHEAD"
10export PORTBRANCH="ports/head@rHEAD"
11export NODOC=yes
12export WORLD_FLAGS="-j $(sysctl -n hw.ncpu)"
13export KERNEL_FLAGS="-j $(( $(( $(sysctl -n hw.ncpu) + 1 )) / 2 ))"
14export CHROOTDIR="/scratch"
15export EMBEDDEDBUILD=1
16export EMBEDDEDPORTS="lang/python textproc/gsed"
17
18# Build chroot configuration
19load_chroot_env() {
20 # Avoid collision with TARGET and XDEV.
21 unset XDEV XDEV_ARCH KERNEL
22 export TARGET="amd64"
23 export TARGET_ARCH="amd64"
24}
25
26# Build target configuration
27load_target_env() {
28 # Avoid collision with TARGET and XDEV.
29 unset TARGET TARGET_ARCH
30 export XDEV="arm"
31 export XDEV_ARCH="armv6"
32 export XDEV_FLAGS="WITH_GCC=1 WITH_GCC_BOOTSTRAP=1 WITHOUT_CLANG_IS_CC=1"
33 export XDEV_FLAGS="${XDEV_FLAGS} MK_TESTS=no"
34 export KERNEL="PANDABOARD"
35 export CROCHETSRC="https://github.com/freebsd/crochet"
36 export CROCHETBRANCH="trunk@rHEAD"
37}