| 1#!/bin/sh
|
1#
| 2#
|
2# $FreeBSD: head/release/arm/BEAGLEBONE.conf 264794 2014-04-23 02:01:22Z gjb $
| 3# $FreeBSD: head/release/arm/BEAGLEBONE.conf 269639 2014-08-06 19:04:05Z gjb $
|
3# 4
| 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 16
|
5# Build chroot configuration
| 17# Build chroot configuration
|
6TARGET="amd64" 7TARGET_ARCH="amd64" 8SVNROOT="svn://svn.FreeBSD.org/" 9SRCBRANCH="base/head@rHEAD" 10DOCBRANCH="doc/head@rHEAD" 11PORTBRANCH="ports/head@rHEAD" 12NODOC=yes
| 18load_chroot_env() { 19 # Avoid collision with TARGET and XDEV. 20 unset XDEV XDEV_ARCH KERNEL 21 export TARGET="amd64" 22 export TARGET_ARCH="amd64" 23}
|
13 14# Build target configuration
| 24 25# Build target configuration
|
15# Since this file is sourced by a script that runs another 16# script, these must be exported. 17set -a 18WORLD_FLAGS="-j $(sysctl -n hw.ncpu)" 19KERNEL_FLAGS="-j $(( $(( $(sysctl -n hw.ncpu) + 1 )) / 2 ))" 20CHROOTDIR="/scratch" 21EMBEDDEDBUILD=1 22EMBEDDEDPORTS="lang/python textproc/gsed" 23XDEV="arm" 24XDEV_ARCH="armv6" 25XDEV_FLAGS="WITH_GCC=1 WITH_GCC_BOOTSTRAP=1 WITHOUT_CLANG_IS_CC=1" 26KERNEL="BEAGLEBONE" 27CROCHETSRC="https://github.com/kientzle/crochet-freebsd" 28CROCHETBRANCH="trunk" 29set +a 30
| 26load_target_env() { 27 # Avoid collision with TARGET and XDEV. 28 unset TARGET TARGET_ARCH 29 export EMBEDDEDPORTS="lang/python textproc/gsed" 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="BEAGLEBONE" 35 export CROCHETSRC="https://github.com/kientzle/crochet-freebsd" 36 export CROCHETBRANCH="trunk" 37}
|
| |