# Install a package
#
# Usage:
#  option Package emacs-nox11
# Make sure package database gets initialized.
option PackageInit

strategy_add $PHASE_FREEBSD_OPTION_INSTALL pkg -c ${BOARD_FREEBSD_MOUNTPOINT} -y $1


# Install one or more packages
#
# Usage:
#  option Package apache mysql php

# Make sure package database gets initialized.
option PackageInit

for p in $@; do
    strategy_add $PHASE_FREEBSD_OPTION_INSTALL pkg -c ${BOARD_FREEBSD_MOUNTPOINT} -y $p
done

Allow multiple packages on a single line
Allow multiple packages on a single line
