2014-11-09 16:44:55 +01:00
|
|
|
################################################################################
|
|
|
|
|
# setup system defaults
|
|
|
|
|
################################################################################
|
2010-12-11 15:05:13 +01:00
|
|
|
|
2014-11-09 16:44:55 +01:00
|
|
|
# The TARGET_CPU variable controls which processor should be targeted for
|
|
|
|
|
# generated code.
|
|
|
|
|
case $TARGET_ARCH in
|
|
|
|
|
x86_64)
|
2022-06-17 20:09:44 +02:00
|
|
|
# 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.
|
2014-11-09 16:44:55 +01:00
|
|
|
#
|
2022-06-17 20:09:44 +02:00
|
|
|
# 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)
|
2014-11-09 16:44:55 +01:00
|
|
|
TARGET_CPU="x86-64"
|
|
|
|
|
;;
|
|
|
|
|
esac
|
2009-05-02 23:54:39 +02:00
|
|
|
|
2014-11-09 16:44:55 +01:00
|
|
|
# Bootloader to use (syslinux / u-boot)
|
|
|
|
|
BOOTLOADER="syslinux"
|
2009-05-02 23:54:39 +02:00
|
|
|
|
2016-03-01 21:10:56 +01:00
|
|
|
# Kernel target
|
2016-03-02 09:37:19 +01:00
|
|
|
KERNEL_TARGET="bzImage"
|
2012-03-08 08:11:31 +01:00
|
|
|
|
2014-11-09 16:44:55 +01:00
|
|
|
# Additional kernel make parameters (for example to specify the u-boot loadaddress)
|
|
|
|
|
KERNEL_MAKE_EXTRACMD=""
|
2009-12-19 01:35:31 +01:00
|
|
|
|
2018-01-20 22:51:38 +01:00
|
|
|
# Additional kernel dependencies
|
|
|
|
|
KERNEL_EXTRA_DEPENDS_TARGET=""
|
|
|
|
|
|
2014-11-09 16:44:55 +01:00
|
|
|
# Kernel to use. values can be:
|
|
|
|
|
# default: default mainline kernel
|
|
|
|
|
LINUX="default"
|
2009-12-19 01:35:31 +01:00
|
|
|
|
2011-07-12 01:47:26 +02:00
|
|
|
|
2014-11-09 16:44:55 +01:00
|
|
|
################################################################################
|
|
|
|
|
# setup build defaults
|
|
|
|
|
################################################################################
|
2013-05-12 18:35:21 +02:00
|
|
|
|
2014-11-09 16:44:55 +01:00
|
|
|
# Project CFLAGS
|
2018-10-25 00:07:00 +00:00
|
|
|
PROJECT_CFLAGS=""
|
2013-05-23 17:11:56 +02:00
|
|
|
|
2018-08-15 02:12:47 +00:00
|
|
|
# SquashFS compression method (gzip / lzo / xz / zstd)
|
2019-05-03 23:49:51 +00:00
|
|
|
SQUASHFS_COMPRESSION="zstd"
|
2014-03-03 13:43:08 +01:00
|
|
|
|
|
|
|
|
|
2014-11-09 16:44:55 +01:00
|
|
|
################################################################################
|
|
|
|
|
# setup project defaults
|
|
|
|
|
################################################################################
|
2014-03-03 13:43:08 +01:00
|
|
|
|
2014-12-09 20:03:35 +01:00
|
|
|
# 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"
|
|
|
|
|
|
2015-04-11 12:30:23 -07:00
|
|
|
# additional drivers to install:
|
2018-08-15 02:12:47 +00:00
|
|
|
# for a list of additional drivers see packages/linux-drivers
|
2015-04-11 12:30:23 -07:00
|
|
|
# Space separated list is supported,
|
2023-01-13 19:39:21 +01:00
|
|
|
# e.g. ADDITIONAL_DRIVERS+=" DRIVER1 DRIVER2"
|
2024-11-23 09:16:54 +00:00
|
|
|
ADDITIONAL_DRIVERS+=""
|
2017-12-10 18:50:32 +01:00
|
|
|
|
2019-01-25 12:11:30 +01:00
|
|
|
# Default size of the ova image, in MB, eg. 4096
|
|
|
|
|
OVA_SIZE="4096"
|
2025-03-09 14:06:53 +01:00
|
|
|
|
|
|
|
|
# ensure system size is at least 1 GB
|
|
|
|
|
if [ ${SYSTEM_SIZE} -lt 1024 ]; then
|
|
|
|
|
SYSTEM_SIZE=1024
|
|
|
|
|
fi
|