################################################################################
# setup system defaults
################################################################################

  # The TARGET_CPU variable controls which processor should be targeted for
  # generated code.
    case $TARGET_ARCH in
      x86_64)
        # Valid TARGET_CPU values as defined at:
        # https://gcc.gnu.org/onlinedocs/gcc/x86-Options.html
        # x86-64       A generic CPU with 64-bit extensions.
        #
        # x86-64-v2    e.g. AMD CPU - Bulldozer - (bdver1)
        #                   Intel CPU - Nehalem - (nehalem)
        #
        # x86-64-v3    e.g. AMD CPU - Bulldozer GEN4 - (bdver4)
        #                   Intel CPU - Haswell - (haswell)
        TARGET_CPU="x86-64"
        ;;
    esac

  # Bootloader to use (syslinux / u-boot)
    BOOTLOADER="syslinux"

  # Kernel target
    KERNEL_TARGET="bzImage"

  # Additional kernel make parameters (for example to specify the u-boot loadaddress)
    KERNEL_MAKE_EXTRACMD=""

  # Additional kernel dependencies
    KERNEL_EXTRA_DEPENDS_TARGET=""

  # Kernel to use. values can be:
  # default:  default mainline kernel
    LINUX="default"


################################################################################
# setup build defaults
################################################################################

  # Project CFLAGS
    PROJECT_CFLAGS=""

  # SquashFS compression method (gzip / lzo / xz / zstd)
    SQUASHFS_COMPRESSION="zstd"


################################################################################
# setup project defaults
################################################################################

  # additional Firmware to use (dvb-firmware, misc-firmware, wlan-firmware)
  # Space separated list is supported,
  # e.g. FIRMWARE="dvb-firmware misc-firmware wlan-firmware"
    FIRMWARE="misc-firmware wlan-firmware dvb-firmware iwlwifi-firmware"

  # additional drivers to install:
  # for a list of additional drivers see packages/linux-drivers
  # Space separated list is supported,
  # e.g. ADDITIONAL_DRIVERS+=" DRIVER1 DRIVER2"
    ADDITIONAL_DRIVERS+=""

  # Default size of the ova image, in MB, eg. 4096
    OVA_SIZE="4096"

  # ensure system size is at least 1 GB
    if [ ${SYSTEM_SIZE} -lt 1024 ]; then
      SYSTEM_SIZE=1024
    fi
