File tree Expand file tree Collapse file tree 8 files changed +95
-0
lines changed Expand file tree Collapse file tree 8 files changed +95
-0
lines changed Original file line number Diff line number Diff line change
1
+ LOCAL_PATH := $(call my-dir)
2
+
3
+ include $(CLEAR_VARS )
4
+
5
+ ALL_PREBUILT += $(INSTALLED_KERNEL_TARGET )
6
+
7
+ # include the non-open-source counterpart to this file
8
+ -include vendor/thl/w8/AndroidBoardVendor.mk
Original file line number Diff line number Diff line change
1
+ PRODUCT_MAKEFILES := \
2
+ $(LOCAL_DIR ) /device_w8.mk
Original file line number Diff line number Diff line change
1
+ USE_CAMERA_STUB := true
2
+
3
+ # inherit from the proprietary version
4
+ -include vendor/thl/w8/BoardConfigVendor.mk
5
+
6
+ TARGET_ARCH := arm
7
+ TARGET_NO_BOOTLOADER := true
8
+ TARGET_BOARD_PLATFORM := unknown
9
+ TARGET_CPU_ABI := armeabi-v7a
10
+ TARGET_CPU_ABI2 := armeabi
11
+ TARGET_ARCH_VARIANT := armv7-a-neon
12
+ ARCH_ARM_HAVE_TLS_REGISTER := true
13
+
14
+ TARGET_BOOTLOADER_BOARD_NAME := w8
15
+
16
+ BOARD_KERNEL_CMDLINE :=
17
+ BOARD_KERNEL_BASE := 0x10000000
18
+ BOARD_KERNEL_PAGESIZE := 2048
19
+
20
+ # fix this up by examining /proc/mtd on a running device
21
+ BOARD_BOOTIMAGE_PARTITION_SIZE := 0x105c0000
22
+ BOARD_RECOVERYIMAGE_PARTITION_SIZE := 0x105c0000
23
+ BOARD_SYSTEMIMAGE_PARTITION_SIZE := 0x105c0000
24
+ BOARD_USERDATAIMAGE_PARTITION_SIZE := 0x105c0000
25
+ BOARD_FLASH_BLOCK_SIZE := 131072
26
+
27
+ TARGET_PREBUILT_KERNEL := device/thl/w8/kernel
28
+
29
+ BOARD_HAS_NO_SELECT_BUTTON := true
Original file line number Diff line number Diff line change
1
+ # # Specify phone tech before including full_phone
2
+ $(call inherit-product, vendor/cm/config/gsm.mk)
3
+
4
+ # Release name
5
+ PRODUCT_RELEASE_NAME := w8
6
+
7
+ # Inherit some common CM stuff.
8
+ $(call inherit-product, vendor/cm/config/common_full_phone.mk)
9
+
10
+ # Inherit device configuration
11
+ $(call inherit-product, device/thl/w8/device_w8.mk)
12
+
13
+ # # Device identifier. This must come after all inclusions
14
+ PRODUCT_DEVICE := w8
15
+ PRODUCT_NAME := cm_w8
16
+ PRODUCT_BRAND := thl
17
+ PRODUCT_MODEL := w8
18
+ PRODUCT_MANUFACTURER := thl
Original file line number Diff line number Diff line change
1
+ $(call inherit-product, $(SRC_TARGET_DIR)/product/languages_full.mk)
2
+
3
+ # The gps config appropriate for this device
4
+ $(call inherit-product, device/common/gps/gps_us_supl.mk)
5
+
6
+ $(call inherit-product-if-exists, vendor/thl/w8/w8-vendor.mk)
7
+
8
+ DEVICE_PACKAGE_OVERLAYS += device/thl/w8/overlay
9
+
10
+ LOCAL_PATH := device/thl/w8
11
+ ifeq ($(TARGET_PREBUILT_KERNEL ) ,)
12
+ LOCAL_KERNEL := $(LOCAL_PATH)/kernel
13
+ else
14
+ LOCAL_KERNEL := $(TARGET_PREBUILT_KERNEL)
15
+ endif
16
+
17
+ PRODUCT_COPY_FILES += \
18
+ $(LOCAL_KERNEL ) :kernel
19
+
20
+ $(call inherit-product, build/target/product/full.mk)
21
+
22
+ PRODUCT_BUILD_PROP_OVERRIDES += BUILD_UTC_DATE=0
23
+ PRODUCT_NAME := full_w8
24
+ PRODUCT_DEVICE := w8
Original file line number Diff line number Diff line change
1
+ # mount point fstype device [device2]
2
+ #Taiwan101 ROM Factory
3
+ # /boot emmc boot
4
+ /system ext4 /dev/block/mmcblk0p5
5
+ /cache ext4 /dev/block/mmcblk0p6
6
+ /data ext4 /dev/block/mmcblk0p7
7
+ #/misc emmc misc
8
+ # /recovery emmc recovery
9
+ /sdcard vfat /dev/block/mmcblk1p1 /dev/block/mmcblk1
10
+ /sdcard2 vfat /dev/block/mmcblk0p8
11
+
Original file line number Diff line number Diff line change
1
+ #
2
+ # system.prop for w8
3
+ #
You can’t perform that action at this time.
0 commit comments