summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKalimochoAz <calimochoazucarado@gmail.com>2011-12-18 16:45:49 +0100
committerKalimochoAz <calimochoazucarado@gmail.com>2011-12-18 16:45:49 +0100
commit2538cbd4349b3b8da33f78837f9b0f1a11aef02d (patch)
tree2b5970650f75068def55b7ed116596abc986e637
parent786e339b94e234a991606b9e905fe9fda398774e (diff)
downloaddevice_samsung_crespo-2538cbd4349b3b8da33f78837f9b0f1a11aef02d.zip
device_samsung_crespo-2538cbd4349b3b8da33f78837f9b0f1a11aef02d.tar.gz
device_samsung_crespo-2538cbd4349b3b8da33f78837f9b0f1a11aef02d.tar.bz2
Add CM definitions
-rwxr-xr-xBoardConfigCommon.mk6
-rw-r--r--cm.mk13
-rw-r--r--device.mk1
-rw-r--r--device_base.mk4
-rwxr-xr-xvendorsetup.sh2
5 files changed, 23 insertions, 3 deletions
diff --git a/BoardConfigCommon.mk b/BoardConfigCommon.mk
index 61d04a4..a7bdd3f 100755
--- a/BoardConfigCommon.mk
+++ b/BoardConfigCommon.mk
@@ -77,3 +77,9 @@ WIFI_DRIVER_MODULE_NAME := "bcm4329"
WIFI_DRIVER_MODULE_ARG := "iface_name=wlan0 firmware_path=/vendor/firmware/fw_bcm4329.bin nvram_path=/vendor/firmware/nvram_net.txt"
USE_OPENGL_RENDERER := true
+
+# this 2 has being removed by google
+# BOARD_HAS_NO_SELECT_BUTTON := true
+# BOARD_CUSTOM_GRAPHICS := ../../../device/samsung/crespo/graphics.c
+
+BOARD_USE_SKIA_LCDTEXT := true
diff --git a/cm.mk b/cm.mk
new file mode 100644
index 0000000..1f0f2a6
--- /dev/null
+++ b/cm.mk
@@ -0,0 +1,13 @@
+$(call inherit-product, device/samsung/crespo/full_crespo.mk)
+
+PRODUCT_RELEASE_NAME := NS
+# Inherit some common CM stuff.
+$(call inherit-product, vendor/cm/config/common_full_phone.mk)
+
+# Inherit some common CM stuff.
+$(call inherit-product, vendor/cm/config/gsm.mk)
+
+PRODUCT_BUILD_PROP_OVERRIDES += PRODUCT_NAME=soju BUILD_ID=IML74K BUILD_FINGERPRINT=google/soju/crespo:4.0.3/IML74K/239410:user/release-keys PRIVATE_BUILD_DESC="soju-user 4.0.3 IML74K 239410 release-keys" BUILD_NUMBER=239410
+PRODUCT_NAME := cm_crespo
+PRODUCT_DEVICE := crespo
+
diff --git a/device.mk b/device.mk
index b028f3c..cd96a85 100644
--- a/device.mk
+++ b/device.mk
@@ -51,3 +51,4 @@ $(call inherit-product, device/samsung/crespo/device_base.mk)
# commonly available
$(call inherit-product-if-exists, vendor/samsung/crespo/device-vendor.mk)
+$(call inherit-product-if-exists, vendor/samsung/crespo/device-vendor-blobs.mk)
diff --git a/device_base.mk b/device_base.mk
index 4d0f2d5..79b213b 100644
--- a/device_base.mk
+++ b/device_base.mk
@@ -39,7 +39,7 @@
# These is the hardware-specific overlay, which points to the location
# of hardware-specific resource overrides, typically the frameworks and
# application settings that are stored in resourced.
-DEVICE_PACKAGE_OVERLAYS := device/samsung/crespo/overlay
+DEVICE_PACKAGE_OVERLAYS += device/samsung/crespo/overlay
# These are the hardware-specific configuration files
PRODUCT_COPY_FILES := \
@@ -137,7 +137,7 @@ PRODUCT_PACKAGES += \
PRODUCT_PACKAGES += \
lights.s5pc110 \
hwcomposer.s5pc110 \
- sensors.herring
+ sensors.herring
# Camera
PRODUCT_PACKAGES += \
diff --git a/vendorsetup.sh b/vendorsetup.sh
index f5faebf..ae47da5 100755
--- a/vendorsetup.sh
+++ b/vendorsetup.sh
@@ -20,4 +20,4 @@
# In particular, you can add lunch options with the add_lunch_combo
# function: add_lunch_combo generic-eng
-add_lunch_combo full_crespo-userdebug
+add_lunch_combo cm_crespo-userdebug