Skip to content

Commit

Permalink
рабочий конфиг для сборки СМ11(предварительная версия).
Browse files Browse the repository at this point in the history
  • Loading branch information
Scorpio92 committed Feb 26, 2014
1 parent 70c848c commit c5067b7
Show file tree
Hide file tree
Showing 97 changed files with 642 additions and 2,813 deletions.
2 changes: 1 addition & 1 deletion Android.mk
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

LOCAL_PATH := $(call my-dir)

ifeq ($(TARGET_DEVICE),i9300)
ifeq ($(TARGET_DEVICE),c8690)

include $(call all-makefiles-under,$(LOCAL_PATH))

Expand Down
89 changes: 64 additions & 25 deletions BoardConfig.mk
Original file line number Diff line number Diff line change
@@ -1,18 +1,23 @@
# scorpio92(4PDA), config for Cellon C8960, Newman N2, Freelander i20
#2013

TARGET_OTA_ASSERT_DEVICE := m0,i9300,GT-I9300
TARGET_OTA_ASSERT_DEVICE := c8690,c8690,c8690
DISABLE_DEXPREOPT := true
TARGET_SPECIFIC_HEADER_PATH := device/samsung/i9300/overlay/include
TARGET_SPECIFIC_HEADER_PATH := device/cellon/c8690/include
BOARD_CUSTOM_BOOTIMG_MK := device/cellon/c8690/img.mk

TARGET_BOOTANIMATION_PRELOAD := true

TARGET_CPU_ABI := armeabi-v7a
TARGET_CPU_ABI2 := armeabi
TARGET_CPU_SMP := true
TARGET_ARCH := arm
TARGET_ARCH_VARIANT := armv7-a-neon
TARGET_ARCH_VARIANT_CPU := cortex-a9
TARGET_CPU_VARIANT := cortex-a9
ARCH_ARM_HAVE_NEON := true
ARCH_ARM_HAVE_TLS_REGISTER := true
ARCH_ARM_USE_NON_NEON_MEMCPY := true
TARGET_GLOBAL_CFLAGS += -mtune=cortex-a9 -mfpu=neon -mfloat-abi=softfp
TARGET_GLOBAL_CPPFLAGS += -mtune=cortex-a9 -mfpu=neon -mfloat-abi=softfp
EXYNOS4X12_ENHANCEMENTS := true
Expand All @@ -21,20 +26,43 @@ ifdef EXYNOS4X12_ENHANCEMENTS
COMMON_GLOBAL_CFLAGS += -DEXYNOS4_ENHANCEMENTS
COMMON_GLOBAL_CFLAGS += -DEXYNOS4X12_ENHANCEMENTS
COMMON_GLOBAL_CFLAGS += -DDISABLE_HW_ID_MATCH_CHECK
COMMON_GLOBAL_CFLAGS += -DNEEDS_LEGACY_FB
endif
BOARD_VENDOR := samsung
TARGET_BOARD_PLATFORM := exynos4
TARGET_SOC := exynos4x12
TARGET_BOOTLOADER_BOARD_NAME := smdk4x12

# Kernel
#TARGET_KERNEL_SOURCE := kernel
#TARGET_KERNEL_CONFIG := Exynos4Brothers_newman_defconfig


# Images
TARGET_NO_BOOTLOADER := true
TARGET_NO_RADIOIMAGE := true
TARGET_NO_RECOVERY := false
TARGET_NO_RECOVERY := true

# Init
TARGET_PROVIDES_INIT := true
TARGET_PROVIDES_INIT_TARGET_RC := true
TARGET_RECOVERY_INITRC := device/samsung/i9300/recovery.rc
TARGET_RECOVERY_INITRC := device/cellon/c8690/recovery.rc

# Selinux
BOARD_SEPOLICY_DIRS += \
device/samsung/i9300/selinux

BOARD_SEPOLICY_UNION += \
device.te \
domain.te \
file.te \
file_contexts \
init.te \
mediaserver.te \
rild.te \
system.te \
ueventd.te \
wpa_supplicant.te

# Kernel
BOARD_KERNEL_CMDLINE := "console=ttySAC2,115200"
Expand All @@ -45,10 +73,10 @@ BOARD_KERNEL_PAGESIZE := 2048

# Recovery
RECOVERY_NAME := CWM-based Recovery by kaasnake
TARGET_RECOVERY_INITRC := device/samsung/i9300/recovery/recovery.rc
TARGET_RECOVERY_INITRC := device/cellon/c8690/recovery/recovery.rc
TARGET_PROVIDES_INIT := true
TARGET_PROVIDES_INIT_TARGET_RC := true
BOARD_CUSTOM_GRAPHICS := ../../../device/samsung/i9300/recovery/graphics.c
BOARD_CUSTOM_GRAPHICS := ../../../device/cellon/c8690/recovery/graphics.c
BOARD_USE_CUSTOM_RECOVERY_FONT := \"roboto_15x24.h\"
BOARD_UMS_LUNFILE := "/sys/class/android_usb/android0/f_mass_storage/lun/file"
BOARD_USES_MMCUTILS := true
Expand All @@ -65,25 +93,47 @@ BOARD_SYSTEMIMAGE_PARTITION_SIZE := 515899392
BOARD_USERDATAIMAGE_PARTITION_SIZE := 1198522368
BOARD_FLASH_BLOCK_SIZE := 4096
TARGET_USERIMAGES_USE_EXT4 := true
BOARD_HAS_LARGE_FILESYSTEM := true

# Vold
TARGET_USE_CUSTOM_LUN_FILE_PATH := "/sys/devices/platform/s3c-usbgadget/gadget/lun%d/file"
BOARD_VOLD_EMMC_SHARES_DEV_MAJOR := true

# Audio
BOARD_USES_GENERIC_AUDIO := true
#BOARD_USES_LIBMEDIA_WITH_AUDIOPARAMETER := true

# FM Radio
BOARD_HAVE_FM_RADIO := false
BOARD_GLOBAL_CFLAGS += -DHAVE_FM_RADIO

# Camera
USE_CAMERA_STUB := true

# Graphics
BOARD_EGL_CFG := vendor/samsung/i9300/proprietary/main/system/lib/egl/egl.cfg
BOARD_EGL_CFG := vendor/cellon/c8690/proprietary/main/system/lib/egl/egl.cfg
USE_OPENGL_RENDERER := true
BOARD_USES_SKIAHWJPEG := true
COMMON_GLOBAL_CFLAGS += -DSEC_HWJPEG_G2D
COMMON_GLOBAL_CFLAGS += -DSEC_HWJPEG_G2D -DFORCE_SCREENSHOT_CPU_PATH -DWORKAROUND_BUG_10194508
TARGET_RUNNING_WITHOUT_SYNC_FRAMEWORK := true

# FIMG Acceleration
BOARD_USES_FIMGAPI := true
BOARD_USES_SKIA_FIMGAPI := true

# HWComposer
BOARD_USES_HWCOMPOSER := true
BOARD_USE_SYSFS_VSYNC_NOTIFICATION := true

# OMX
BOARD_USE_SAMSUNG_COLORFORMAT := true
BOARD_NONBLOCK_MODE_PROCESS := true
BOARD_USE_STOREMETADATA := true
BOARD_USE_METADATABUFFERTYPE := true
BOARD_USES_MFC_FPS := true
BOARD_USE_S3D_SUPPORT := true
BOARD_USE_CSC_FIMC := false

# RIL
BOARD_MOBILEDATA_INTERFACE_NAME := "pdp0"
#BOARD_MOBILEDATA_INTERFACE_NAME := "rmnet0"
Expand Down Expand Up @@ -112,10 +162,8 @@ HAVE_HOSTAPD := true
# Bluetooth
BOARD_HAVE_BLUETOOTH := true
BOARD_HAVE_BLUETOOTH_BCM := true
BOARD_BLUEDROID_VENDOR_CONF := device/samsung/i9300/bluetooth/vnd_smdk4x12.txt
WITH_A2DP := true
BOARD_CUSTOM_BRCM_PATCHRAM_PLUS := ../../../vendor/samsung/i9300/proprietary/main/system/bin/brcm_patchram_plus.c
BOARD_BLUETOOTH_BCM4329 := false
BOARD_HAVE_SAMSUNG_BLUETOOTH := true
BOARD_BLUEDROID_VENDOR_CONF := device/cellon/c8690/bluetooth/vnd_smdk4x12.txt

# GPS
#BOARD_USES_GPSSHIM := true
Expand All @@ -132,19 +180,10 @@ BOARD_USE_LEGACY_TOUCHSCREEN := true
# Enable WEBGL in WebKit
ENABLE_WEBGL := true

# Enable JIT
WITH_JIT := true

# OMX
BOARD_USE_SAMSUNG_COLORFORMAT := true
BOARD_NONBLOCK_MODE_PROCESS := true
BOARD_USE_STOREMETADATA := true
BOARD_USE_METADATABUFFERTYPE := true
BOARD_USES_MFC_FPS := true
BOARD_USE_S3D_SUPPORT := true
BOARD_USE_CSC_FIMC := false
# Override healthd HAL
BOARD_HAL_STATIC_LIBRARIES := libhealthd.exynos4

# Charging mode
BOARD_CHARGING_MODE_BOOTING_LPM := /sys/class/power_supply/battery/batt_lp_charging
BOARD_BATTERY_DEVICE_NAME := "battery"
#BOARD_CHARGING_MODE_BOOTING_LPM := /sys/class/power_supply/battery/batt_lp_charging
#BOARD_BATTERY_DEVICE_NAME := "battery"

16 changes: 0 additions & 16 deletions README.md

This file was deleted.

23 changes: 23 additions & 0 deletions bluetooth/bdroid_buildcfg.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
/*
* Copyright (C) 2012 The Android Open Source Project
* Copyright (C) 2012 The CyanogenMod Project <http://www.cyanogenmod.org>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

#ifndef _BDROID_BUILDCFG_H
#define _BDROID_BUILDCFG_H

#define BTM_DEF_LOCAL_NAME "GT-I9300"

#endif
Empty file modified bluetooth/vnd_smdk4x12.txt
100755 → 100644
Empty file.
10 changes: 0 additions & 10 deletions cm.dependencies

This file was deleted.

Loading

0 comments on commit c5067b7

Please sign in to comment.