summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaulK <contact@paulk.fr>2012-03-31 00:54:30 +0200
committerPaul Kocialkowski <contact@paulk.fr>2012-07-08 23:35:02 +0200
commitfa420912fbd8278c83644b065f9cfb5f52724d69 (patch)
tree7d57e7c81a56e60d124dd66cc6c7f02bcc1dbf2c
parentb6d0e2e560417df79f4ec4fabe2e936b70b07171 (diff)
downloadvendor_replicant-fa420912fbd8278c83644b065f9cfb5f52724d69.zip
vendor_replicant-fa420912fbd8278c83644b065f9cfb5f52724d69.tar.gz
vendor_replicant-fa420912fbd8278c83644b065f9cfb5f52724d69.tar.bz2
Added Goldelico GTA04 product file
-rw-r--r--products/AndroidProducts.mk1
-rw-r--r--products/replicant_gta04.mk38
-rw-r--r--vendorsetup.sh1
3 files changed, 40 insertions, 0 deletions
diff --git a/products/AndroidProducts.mk b/products/AndroidProducts.mk
index 64635f2..dcf4f62 100644
--- a/products/AndroidProducts.mk
+++ b/products/AndroidProducts.mk
@@ -32,6 +32,7 @@ PRODUCT_MAKEFILES := \
$(LOCAL_DIR)/replicant_galaxysmtd.mk \
$(LOCAL_DIR)/replicant_generic.mk \
$(LOCAL_DIR)/replicant_glacier.mk \
+ $(LOCAL_DIR)/replicant_gta04.mk \
$(LOCAL_DIR)/replicant_legend.mk \
$(LOCAL_DIR)/replicant_leo.mk \
$(LOCAL_DIR)/replicant_liberty.mk \
diff --git a/products/replicant_gta04.mk b/products/replicant_gta04.mk
new file mode 100644
index 0000000..2d301b5
--- /dev/null
+++ b/products/replicant_gta04.mk
@@ -0,0 +1,38 @@
+# Inherit AOSP device configuration for gta04.
+#$(call inherit-product, device/goldelico/gta04/full_gta04.mk)
+
+# Inherit some common cyanogenmod stuff.
+$(call inherit-product, vendor/replicant/products/common_full.mk)
+
+# Include GSM stuff
+$(call inherit-product, vendor/replicant/products/gsm.mk)
+
+#
+# Setup device specific product configuration.
+#
+PRODUCT_NAME := replicant_gta04
+PRODUCT_BRAND := goldelico
+PRODUCT_DEVICE := gta04
+PRODUCT_MODEL := GTA04
+PRODUCT_MANUFACTURER := goldelico
+
+# Build kernel
+PRODUCT_SPECIFIC_DEFINES += TARGET_PREBUILT_KERNEL=
+PRODUCT_SPECIFIC_DEFINES += TARGET_KERNEL_DIR=kernel-gta04
+PRODUCT_SPECIFIC_DEFINES += TARGET_KERNEL_CONFIG=gta04_defconfig
+
+# Build bootloader
+PRODUCT_SPECIFIC_DEFINES += TARGET_BOOTLOADER_DIR=bootable/bootloader/uboot-gta04/u-boot
+PRODUCT_SPECIFIC_DEFINES += TARGET_BOOTLOADER_CONFIG=omap3_gta04_config
+
+#
+# Set ro.modversion
+#
+PRODUCT_PROPERTY_OVERRIDES += \
+ ro.modversion="Replicant-2.3"
+
+#
+# Copy crespo specific prebuilt files
+#
+#PRODUCT_COPY_FILES += \
+# vendor/replicant/prebuilt/hdpi/media/bootanimation.zip:system/media/bootanimation.zip
diff --git a/vendorsetup.sh b/vendorsetup.sh
index f40f335..46341f2 100644
--- a/vendorsetup.sh
+++ b/vendorsetup.sh
@@ -29,6 +29,7 @@ add_lunch_combo replicant_galaxysbmtd-eng
add_lunch_combo replicant_galaxysmtd-eng
add_lunch_combo replicant_generic-eng
add_lunch_combo replicant_glacier-eng
+add_lunch_combo replicant_gta04-eng
add_lunch_combo replicant_hallon-eng
add_lunch_combo replicant_hero-eng
add_lunch_combo replicant_heroc-eng