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 |
| 21 | TARGET_CPU_ABI := armeabi-v7a |
| 22 | TARGET_CPU_ABI2 := armeabi |
| 23 | TARGET_ARCH_VARIANT := armv7-a-neon |
| 24 | TARGET_ARCH_VARIANT_CPU := cortex-a9 |
| 25 | |
| 26 | # Enable WEBGL in WebKit |
| 27 | ENABLE_WEBGL := true |
| 28 | |
| 29 | # Flags |
| 30 | COMMON_GLOBAL_CFLAGS += -DQCOM_HARDWARE |
| 31 | |
| 32 | # Recovery |
| 33 | TARGET_RECOVERY_PIXEL_FORMAT := "RGBX_8888" |
| 34 | BOARD_CUSTOM_GRAPHICS := ../../../device/samsung/qcom-common/recovery/graphics.c |
| 35 | |
| 36 | # QCOM hardware |
| 37 | BOARD_USES_QCOM_HARDWARE := true |
| 38 | |
| 39 | # Graphics |
| 40 | USE_OPENGL_RENDERER := true |
| 41 | TARGET_USES_C2D_COMPOSITION := true |
| 42 | TARGET_USES_ION := true |
| 43 | BOARD_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 |
| 50 | TARGET_FORCE_CPU_UPLOAD := true |
| 51 | |
| 52 | # Charging mode |
| 53 | BOARD_CHARGING_MODE_BOOTING_LPM := /sys/class/power_supply/battery/batt_lp_charging |
| 54 | BOARD_BATTERY_DEVICE_NAME := "battery" |
| 55 | |