summaryrefslogtreecommitdiff
path: root/BoardConfig.mk
blob: 203ed7b7cbc4498c91d302de3c1544b55f4c633b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# config.mk
# 
# Product-specific compile-time definitions.
#

TARGET_BOARD_PLATFORM := sitara
TARGET_NO_BOOTLOADER := true # Uses u-boot instead 
TARGET_NO_KERNEL := false
USE_PREBUILT_UBOOT = false
BOARD_EGL_CFG := device/linaro/beaglebone/egl.cfg
KERNEL_CONFIG := am335x_evm_android_defconfig
TARGET_USE_UBOOT := true
#UBOOT_TOOLS_PREFIX := arm-linux-androideabi-
UBOOT_CONFIG := am335x_evm_config
TARGET_USE_XLOADER := false
TARGET_NO_RECOVERY := true
TARGET_NO_RADIOIMAGE := true
BOARD_USES_GENERIC_AUDIO := false
#BOARD_USES_ALSA_AUDIO := false
BUILD_WITH_ALSA_UTILS := false
BOARD_USES_TINY_AUDIO_HW := true
HARDWARE_OMX := false
USE_CAMERA_STUB := true
TARGET_USE_SGX:=true

TARGET_CPU_ABI := armeabi-v7a
TARGET_CPU_ABI2 := armeabi
TARGET_CPU_SMP := false

# Enable NEON feature
TARGET_ARCH_VARIANT := armv7-a-neon
ARCH_ARM_HAVE_TLS_REGISTER := true

EXTRA_PACKAGE_MANAGEMENT := false

TARGET_USERIMAGES_USE_EXT4 := true
TARGET_USERIMAGES_SPARSE_EXT_DISABLED := true

USE_OPENGL_RENDERER := true

# PandaBoard uses an OMAP4 -- Cortex A9
#TARGET_EXTRA_CFLAGS += $(call cc-ifversion, -ge, 46, $(call cc-option,-mtune=cortex-a9,$(call cc-option,-mtune=cortex-a8)) $(call cc-option,-mcpu=cortex-a9,$(call cc-option,-mcpu=cortex-a8)))

# Build uImage and uInitrd instead of kernel and ramdisk.img
TARGET_BOOTLOADER_TYPE := uboot