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)
|
|
|
|
|
# (AMD CPUs) k8 k8-sse3 opteron opteron-sse3 athlon64 athlon64-sse3
|
|
|
|
|
# athlon-fx amdfam10 barcelona
|
|
|
|
|
# (Intel CPUs) atom core2 nocona
|
|
|
|
|
#
|
|
|
|
|
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
|
|
|
|
2014-11-09 16:44:55 +01:00
|
|
|
# u-boot version to use (default)
|
|
|
|
|
UBOOT_VERSION="default"
|
2009-12-19 01:35:31 +01:00
|
|
|
|
2014-11-09 16:44:55 +01:00
|
|
|
# Configuration for u-boot
|
|
|
|
|
UBOOT_CONFIG=""
|
2011-03-08 16:05:09 +01:00
|
|
|
|
2014-11-09 16:44:55 +01:00
|
|
|
# Target Configfile for u-boot
|
|
|
|
|
UBOOT_CONFIGFILE=""
|
2011-03-08 16:05:09 +01: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
|
|
|
# Kernel extra targets to build
|
|
|
|
|
KERNEL_UBOOT_EXTRA_TARGET=""
|
2009-12-19 01:35: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
|
|
|
|
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
|
|
|
|
|
PROJECT_CFLAGS="-mmmx -msse -msse2 -mfpmath=sse"
|
2013-05-23 17:11:56 +02:00
|
|
|
|
2014-11-09 16:44:55 +01:00
|
|
|
# SquashFS compression method (gzip / lzo / xz)
|
|
|
|
|
SQUASHFS_COMPRESSION="gzip"
|
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-11-09 16:44:55 +01:00
|
|
|
# build and install ALSA Audio support (yes / no)
|
|
|
|
|
ALSA_SUPPORT="yes"
|
2013-05-14 18:34:39 +02:00
|
|
|
|
2015-03-08 11:05:33 +01:00
|
|
|
# OpenGL(X) implementation to use (no / mesa)
|
|
|
|
|
OPENGL="mesa"
|
2011-03-15 18:46:02 +01:00
|
|
|
|
2015-05-27 21:40:03 +02:00
|
|
|
# OpenGL-ES implementation to use (no / bcm2835-driver / gpu-viv-bin-mx6q)
|
2014-11-09 16:44:55 +01:00
|
|
|
OPENGLES="no"
|
2011-03-15 18:46:02 +01:00
|
|
|
|
2014-11-09 16:44:55 +01:00
|
|
|
# include uvesafb support (yes / no)
|
|
|
|
|
UVESAFB_SUPPORT="yes"
|
2012-02-13 00:56:32 +01:00
|
|
|
|
2014-11-09 16:44:55 +01:00
|
|
|
# Displayserver to use (x11 / no)
|
|
|
|
|
DISPLAYSERVER="x11"
|
2009-11-22 15:08:07 +01:00
|
|
|
|
2014-11-09 16:44:55 +01:00
|
|
|
# KODI Player implementation to use (default / bcm2835-driver / libfslvpuwrap)
|
|
|
|
|
KODIPLAYER_DRIVER="default"
|
2009-11-22 15:08:07 +01:00
|
|
|
|
2014-11-09 16:44:55 +01:00
|
|
|
# Modules to install in initramfs for early boot
|
|
|
|
|
INITRAMFS_MODULES=""
|
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:
|
|
|
|
|
# for a list of additinoal drivers see packages/linux-drivers
|
|
|
|
|
# Space separated list is supported,
|
|
|
|
|
# e.g. ADDITIONAL_DRIVERS="DRIVER1 DRIVER2"
|
2015-08-20 11:10:24 +02:00
|
|
|
ADDITIONAL_DRIVERS="$ADDITIONAL_DRIVERS bcm_sta"
|