blob: c146b8d98681655493530011887ba7c1dedf34b5 [file] [log] [blame]
Steve Kondik0e9f0192012-09-24 02:12:49 -07001# Copyright (C) 2012 The CyanogenMod Project
2#
3# Licensed under the Apache License, Version 2.0 (the "License");
4# you may not use this file except in compliance with the License.
5# You may obtain a copy of the License at
6#
7# http://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS,
11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12# See the License for the specific language governing permissions and
13# limitations under the License.
14
15BOARD_VENDOR := samsung
16
17# Bootloader
18TARGET_NO_BOOTLOADER := true
19
20# Architecture
21TARGET_CPU_ABI := armeabi-v7a
22TARGET_CPU_ABI2 := armeabi
23TARGET_ARCH_VARIANT := armv7-a-neon
24TARGET_ARCH_VARIANT_CPU := cortex-a9
25
26# Enable WEBGL in WebKit
27ENABLE_WEBGL := true
28
29# Flags
30COMMON_GLOBAL_CFLAGS += -DQCOM_HARDWARE
31
32# Recovery
33TARGET_RECOVERY_PIXEL_FORMAT := "RGBX_8888"
34BOARD_CUSTOM_GRAPHICS := ../../../device/samsung/qcom-common/recovery/graphics.c
35
36# QCOM hardware
37BOARD_USES_QCOM_HARDWARE := true
38
39# Graphics
40USE_OPENGL_RENDERER := true
41TARGET_USES_C2D_COMPOSITION := true
42TARGET_USES_ION := true
43BOARD_EGL_CFG := device/samsung/qcom-common/configs/egl.cfg
44
45# FM Radio
46#BOARD_HAVE_FM_RADIO := true
47#BOARD_GLOBAL_CFLAGS += -DHAVE_FM_RADIO
48
49# Webkit
50TARGET_FORCE_CPU_UPLOAD := true
51
52# Charging mode
53BOARD_CHARGING_MODE_BOOTING_LPM := /sys/class/power_supply/battery/batt_lp_charging
54BOARD_BATTERY_DEVICE_NAME := "battery"
55