7bcf52bd4d
Sponsored by: The FreeBSD Foundation
30 lines
775 B
Plaintext
30 lines
775 B
Plaintext
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
# This is the configuration file for use with crochet to produce
|
|
# FreeBSD BeagleBone images.
|
|
|
|
board_setup BeagleBone
|
|
option ImageSize 1gb
|
|
option AutoSize
|
|
|
|
export MAKEOBJDIRPREFIX=/usr/obj
|
|
FREEBSD_SRC=/usr/src
|
|
__MAKE_CONF=/dev/null
|
|
SRCCONF=/dev/null
|
|
WORKDIR=/usr/obj
|
|
_BRANCH=$(make -C ${FREEBSD_SRC}/release -V BRANCH)
|
|
_REVISION=$(make -C ${FREEBSD_SRC}/release -V REVISION)
|
|
KERNCONF=BEAGLEBONE
|
|
TARGET=arm
|
|
TARGET_ARCH=armv6
|
|
FREEBSD_BUILDWORLD_EXTRA_ARGS="${WORLD_FLAGS}"
|
|
FREEBSD_BUILDKERNEL_EXTRA_ARGS="${KERNEL_FLAGS}"
|
|
FREEBSD_INSTALLWORLD_EXTRA_ARGS=""
|
|
FREEBSD_INSTALLKERNEL_EXTRA_ARGS=""
|
|
FREEBSD_WORLD_EXTRA_ARGS=""
|
|
FREEBSD_KERNEL_EXTRA_ARGS=""
|
|
FREEBSD_EXTRA_ARGS=""
|
|
IMG=${WORKDIR}/FreeBSD-${_REVISION}-${_BRANCH}-${TARGET}-${TARGET_ARCH}-${KERNCONF}.img
|