blob: a755454ad5d346767f9001981e8b417c68ab717b [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
Steve Kondik5b887be2012-11-18 18:44:08 -080021TARGET_ARCH := arm
Steve Kondik0e9f0192012-09-24 02:12:49 -070022TARGET_CPU_ABI := armeabi-v7a
23TARGET_CPU_ABI2 := armeabi
24TARGET_ARCH_VARIANT := armv7-a-neon
Steve Kondik0e9f0192012-09-24 02:12:49 -070025
26# Enable WEBGL in WebKit
27ENABLE_WEBGL := true
28
Shareef Ali299ecc82012-11-19 20:36:00 -050029# PowerHAL
30TARGET_PROVIDES_POWERHAL := true
Steve Kondik0e9f0192012-09-24 02:12:49 -070031# Flags
32COMMON_GLOBAL_CFLAGS += -DQCOM_HARDWARE
33
34# Recovery
35TARGET_RECOVERY_PIXEL_FORMAT := "RGBX_8888"
Steve Kondik0e9f0192012-09-24 02:12:49 -070036
37# QCOM hardware
38BOARD_USES_QCOM_HARDWARE := true
Brandon McAnshc9255842012-12-24 04:14:07 -050039TARGET_QCOM_AUDIO_VARIANT := caf
Nick Reuter89b36da2013-02-11 01:01:29 -060040TARGET_QCOM_DISPLAY_VARIANT := caf
Steve Kondik350a9db2013-02-01 13:30:26 -080041
Steve Kondik0e9f0192012-09-24 02:12:49 -070042# Graphics
43USE_OPENGL_RENDERER := true
44TARGET_USES_C2D_COMPOSITION := true
45TARGET_USES_ION := true
Steve Kondik0e9f0192012-09-24 02:12:49 -070046
47# FM Radio
48#BOARD_HAVE_FM_RADIO := true
49#BOARD_GLOBAL_CFLAGS += -DHAVE_FM_RADIO
50
51# Webkit
52TARGET_FORCE_CPU_UPLOAD := true
53
54# Charging mode
55BOARD_CHARGING_MODE_BOOTING_LPM := /sys/class/power_supply/battery/batt_lp_charging
56BOARD_BATTERY_DEVICE_NAME := "battery"
57
Steve Kondikd4801a22013-05-13 18:43:44 -070058TARGET_RELEASETOOLS_EXTENSIONS := device/samsung/qcom-common