-
Notifications
You must be signed in to change notification settings - Fork 4
/
BoardConfig.mk
60 lines (46 loc) · 1.67 KB
/
BoardConfig.mk
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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
# BoardConfig.mk
#
# Product-specific compile-time definitions.
#
# cpu stuff
TARGET_CPU_ABI := armeabi-v7a
TARGET_CPU_ABI2 := armeabi
TARGET_ARCH_VARIANT := armv7-a-neon
ARCH_ARM_HAVE_TLS_REGISTER := true
TARGET_BOARD_PLATFORM := sun5i
TARGET_BOOTLOADER_BOARD_NAME := a13
USE_OPENGL_RENDERER := true
# use our own init.rc
TARGET_PROVIDES_INIT_RC :=true
# no hardware camera
USE_CAMERA_STUB := true
#EGL stuff
BOARD_EGL_CFG := device/allwinner/common-sun5i/egl/egl.cfg
USE_OPENGL_RENDERER := true
ENABLE_WEBGL := true
BOARD_USE_SKIA_LCDTEXT := true
TARGET_BOOTANIMATION_PRELOAD := true
TARGET_BOOTANIMATION_TEXTURE_CACHE := true
#audio
HAVE_HTC_AUDIO_DRIVER := true
BOARD_USES_GENERIC_AUDIO := true
#gps
#"simulator":taget board does not have a gps hardware module;"haiweixun":use the gps module offer by haiweixun
BOARD_USES_GPS_TYPE := simulator
# Set /system/bin/sh to ash, not mksh, to make sure we can switch back.
# TARGET_SHELL := ash
# audio & camera & cedarx
CEDARX_CHIP_VERSION := F23
CEDARX_USE_SWAUDIO := Y
# use our own su for root
BOARD_USES_ROOT_SU := true
# hardware module include file path
TARGET_HARDWARE_INCLUDE := $(TOP)/device/allwinner/common-sun5i/hardware/include
TARGET_SPECIFIC_HEADER_PATH := device/allwinner/common-sun5i/hardware/include
MALI:
make -C $(TOP)/device/allwinner/common-sun5i/mali LICHEE_KDIR=${KERNEL_OUT} ARCH=arm CROSS_COMPILE=arm-eabi-
cp $(TOP)/device/allwinner/common-sun5i/mali/*.ko $(KERNEL_MODULES_OUT)
CEDARX:
make -C $(TOP)/device/allwinner/common-sun5i/cedarx LICHEE_KDIR=${KERNEL_OUT} ARCH=arm CROSS_COMPILE=arm-eabi-
cp $(TOP)/device/allwinner/common-sun5i/cedarx/*.ko $(KERNEL_MODULES_OUT)
TARGET_KERNEL_MODULES := MALI CEDARX