Steve Kondik | 0e9f019 | 2012-09-24 02:12:49 -0700 | [diff] [blame] | 1 | # 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 | |
| 15 | BOARD_VENDOR := samsung |
| 16 | |
| 17 | # Bootloader |
| 18 | TARGET_NO_BOOTLOADER := true |
| 19 | |
| 20 | # Architecture |
Steve Kondik | 5b887be | 2012-11-18 18:44:08 -0800 | [diff] [blame] | 21 | TARGET_ARCH := arm |
Steve Kondik | 0e9f019 | 2012-09-24 02:12:49 -0700 | [diff] [blame] | 22 | TARGET_CPU_ABI := armeabi-v7a |
| 23 | TARGET_CPU_ABI2 := armeabi |
| 24 | TARGET_ARCH_VARIANT := armv7-a-neon |
Steve Kondik | 0e9f019 | 2012-09-24 02:12:49 -0700 | [diff] [blame] | 25 | |
| 26 | # Enable WEBGL in WebKit |
| 27 | ENABLE_WEBGL := true |
| 28 | |
Shareef Ali | 299ecc8 | 2012-11-19 20:36:00 -0500 | [diff] [blame] | 29 | # PowerHAL |
| 30 | TARGET_PROVIDES_POWERHAL := true |
Steve Kondik | 0e9f019 | 2012-09-24 02:12:49 -0700 | [diff] [blame] | 31 | # Flags |
| 32 | COMMON_GLOBAL_CFLAGS += -DQCOM_HARDWARE |
| 33 | |
| 34 | # Recovery |
| 35 | TARGET_RECOVERY_PIXEL_FORMAT := "RGBX_8888" |
Steve Kondik | 0e9f019 | 2012-09-24 02:12:49 -0700 | [diff] [blame] | 36 | |
| 37 | # QCOM hardware |
| 38 | BOARD_USES_QCOM_HARDWARE := true |
Brandon McAnsh | c925584 | 2012-12-24 04:14:07 -0500 | [diff] [blame] | 39 | TARGET_QCOM_AUDIO_VARIANT := caf |
Nick Reuter | 89b36da | 2013-02-11 01:01:29 -0600 | [diff] [blame] | 40 | TARGET_QCOM_DISPLAY_VARIANT := caf |
Steve Kondik | 350a9db | 2013-02-01 13:30:26 -0800 | [diff] [blame] | 41 | |
Steve Kondik | 0e9f019 | 2012-09-24 02:12:49 -0700 | [diff] [blame] | 42 | # Graphics |
| 43 | USE_OPENGL_RENDERER := true |
| 44 | TARGET_USES_C2D_COMPOSITION := true |
| 45 | TARGET_USES_ION := true |
Steve Kondik | 0e9f019 | 2012-09-24 02:12:49 -0700 | [diff] [blame] | 46 | |
| 47 | # FM Radio |
| 48 | #BOARD_HAVE_FM_RADIO := true |
| 49 | #BOARD_GLOBAL_CFLAGS += -DHAVE_FM_RADIO |
| 50 | |
| 51 | # Webkit |
| 52 | TARGET_FORCE_CPU_UPLOAD := true |
| 53 | |
| 54 | # Charging mode |
| 55 | BOARD_CHARGING_MODE_BOOTING_LPM := /sys/class/power_supply/battery/batt_lp_charging |
| 56 | BOARD_BATTERY_DEVICE_NAME := "battery" |
| 57 | |
Steve Kondik | d4801a2 | 2013-05-13 18:43:44 -0700 | [diff] [blame] | 58 | TARGET_RELEASETOOLS_EXTENSIONS := device/samsung/qcom-common |