aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWolfgang Wiedmeyer <wolfgit@wiedmeyer.de>2017-01-27 20:52:48 +0100
committerWolfgang Wiedmeyer <wolfgit@wiedmeyer.de>2017-01-27 20:52:48 +0100
commit77b12e5b93076d7e880bb1faa428f0489a689e81 (patch)
treeaf2f7b2eb0baf25921c37d2891e269c986b68b0e
parentc43713462dd5381174a3cab4c15cceccdd240780 (diff)
downloaddevice_samsung_i9305-77b12e5b93076d7e880bb1faa428f0489a689e81.zip
device_samsung_i9305-77b12e5b93076d7e880bb1faa428f0489a689e81.tar.gz
device_samsung_i9305-77b12e5b93076d7e880bb1faa428f0489a689e81.tar.bz2
initial Replicant config
Signed-off-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de>
-rw-r--r--BoardConfig.mk4
-rw-r--r--cm.mk7
-rw-r--r--i9305.mk4
3 files changed, 7 insertions, 8 deletions
diff --git a/BoardConfig.mk b/BoardConfig.mk
index 013a89b..05b3a95 100644
--- a/BoardConfig.mk
+++ b/BoardConfig.mk
@@ -30,8 +30,8 @@ BOARD_BLUETOOTH_BDROID_BUILDCFG_INCLUDE_DIR := $(LOCAL_PATH)/bluetooth
# Camera
COMMON_GLOBAL_CFLAGS += -DCAMERA_WITH_CITYID_PARAM
-# Graphics
-TARGET_REQUIRES_SYNCHRONOUS_SETSURFACE := true
+# enable llvmpipe
+BOARD_GPU_DRIVERS := swrast
# Kernel
TARGET_KERNEL_SOURCE := kernel/samsung/smdk4412
diff --git a/cm.mk b/cm.mk
index 02230f6..70bf989 100644
--- a/cm.mk
+++ b/cm.mk
@@ -2,18 +2,17 @@
PRODUCT_RELEASE_NAME := i9305
# Boot animation
-TARGET_SCREEN_HEIGHT := 1280
-TARGET_SCREEN_WIDTH := 720
+TARGET_BOOTANIMATION_NAME := vertical-720x1280
# Inherit some common CM stuff.
-$(call inherit-product, vendor/cm/config/common_full_phone.mk)
+$(call inherit-product, vendor/replicant/config/common_full_phone.mk)
# Inherit device configuration
$(call inherit-product, device/samsung/i9305/full_i9305.mk)
# Device identifier. This must come after all inclusions
PRODUCT_DEVICE := i9305
-PRODUCT_NAME := cm_i9305
+PRODUCT_NAME := replicant_i9305
PRODUCT_BRAND := samsung
PRODUCT_MODEL := GT-I9305
PRODUCT_MANUFACTURER := samsung
diff --git a/i9305.mk b/i9305.mk
index 9cc54c6..45961b6 100644
--- a/i9305.mk
+++ b/i9305.mk
@@ -83,7 +83,7 @@ PRODUCT_COPY_FILES += \
PRODUCT_PACKAGES += \
com.android.nfc_extras
-$(call inherit-product, vendor/cm/config/nfc_enhanced.mk)
+$(call inherit-product, vendor/replicant/config/nfc_enhanced.mk)
# These are the hardware-specific features
PRODUCT_COPY_FILES += \
@@ -94,7 +94,7 @@ PRODUCT_COPY_FILES += \
$(call inherit-product, frameworks/native/build/phone-xhdpi-2048-dalvik-heap.mk)
# Include device blobs first
-$(call inherit-product, vendor/samsung/i9305/i9305-vendor.mk)
+$(call inherit-product-if-exists, vendor/samsung/i9305/i9305-vendor.mk)
# Include common makefile
$(call inherit-product, device/samsung/smdk4412-common/common.mk)