mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-23 11:18:54 +00:00
7bcf52bd4d
Sponsored by: The FreeBSD Foundation
30 lines
773 B
Plaintext
30 lines
773 B
Plaintext
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
# This is the configuration file for use with crochet to produce
|
|
# FreeBSD Raspberry Pi images.
|
|
|
|
board_setup RaspberryPi
|
|
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=RPI-B
|
|
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
|