2011-05-18 22:26:53 +00:00
|
|
|
# Inherit AOSP device configuration for galaxys.
|
|
|
|
$(call inherit-product, device/samsung/galaxysmtd/full_galaxysmtd.mk)
|
|
|
|
|
|
|
|
# Inherit some common cyanogenmod stuff.
|
|
|
|
$(call inherit-product, vendor/cyanogen/products/common_full.mk)
|
|
|
|
|
|
|
|
# Include GSM stuff
|
|
|
|
$(call inherit-product, vendor/cyanogen/products/gsm.mk)
|
|
|
|
|
|
|
|
#
|
|
|
|
# Setup device specific product configuration.
|
|
|
|
#
|
|
|
|
PRODUCT_NAME := cyanogen_galaxysmtd
|
|
|
|
PRODUCT_BRAND := samsung
|
|
|
|
PRODUCT_DEVICE := galaxysmtd
|
|
|
|
PRODUCT_MODEL := GT-I9000
|
|
|
|
PRODUCT_MANUFACTURER := samsung
|
2011-09-30 09:02:38 +00:00
|
|
|
PRODUCT_BUILD_PROP_OVERRIDES += PRODUCT_NAME=soju BUILD_ID=GRJ22 BUILD_DISPLAY_ID=GWK74 BUILD_FINGERPRINT=google/soju/crespo:2.3.4/GRJ22/121341:user/release-keys PRIVATE_BUILD_DESC="soju-user 2.3.4 GRJ22 121341 release-keys"
|
2011-05-18 22:26:53 +00:00
|
|
|
|
|
|
|
# Build kernel
|
|
|
|
#PRODUCT_SPECIFIC_DEFINES += TARGET_PREBUILT_KERNEL=
|
|
|
|
#PRODUCT_SPECIFIC_DEFINES += TARGET_KERNEL_DIR=kernel-samsung
|
|
|
|
#PRODUCT_SPECIFIC_DEFINES += TARGET_KERNEL_CONFIG=cyanogen_galaxys_defconfig
|
|
|
|
|
|
|
|
# Extra galaxys overlay
|
|
|
|
PRODUCT_PACKAGE_OVERLAYS += vendor/cyanogen/overlay/galaxysmtd
|
|
|
|
|
|
|
|
# Add the FM app
|
|
|
|
PRODUCT_PACKAGES += FM
|
|
|
|
|
|
|
|
# Extra RIL settings
|
|
|
|
PRODUCT_PROPERTY_OVERRIDES += \
|
|
|
|
ro.ril.enable.managed.roaming=1 \
|
|
|
|
ro.ril.oem.nosim.ecclist=911,112,999,000,08,118,120,122,110,119,995 \
|
|
|
|
ro.ril.emc.mode=2
|
|
|
|
|
|
|
|
# Add additional mounts
|
|
|
|
PRODUCT_PROPERTY_OVERRIDES += \
|
2011-08-20 19:21:34 +00:00
|
|
|
ro.additionalmounts=/mnt/emmc \
|
|
|
|
ro.vold.switchablepair=/mnt/sdcard,/mnt/emmc
|
2011-05-18 22:26:53 +00:00
|
|
|
|
|
|
|
#
|
|
|
|
# Set ro.modversion
|
|
|
|
#
|
|
|
|
ifdef CYANOGEN_NIGHTLY
|
|
|
|
PRODUCT_PROPERTY_OVERRIDES += \
|
|
|
|
ro.modversion=CyanogenMod-7-$(shell date +%m%d%Y)-NIGHTLY-GalaxyS
|
|
|
|
else
|
|
|
|
ifdef CYANOGEN_RELEASE
|
|
|
|
PRODUCT_PROPERTY_OVERRIDES += \
|
2011-09-29 04:25:21 +00:00
|
|
|
ro.modversion=CyanogenMod-7.1.0-GalaxyS
|
2011-05-18 22:26:53 +00:00
|
|
|
else
|
|
|
|
PRODUCT_PROPERTY_OVERRIDES += \
|
2011-09-29 04:25:21 +00:00
|
|
|
ro.modversion=CyanogenMod-7.1.0-GalaxyS-KANG
|
2011-05-18 22:26:53 +00:00
|
|
|
endif
|
|
|
|
endif
|
|
|
|
|
|
|
|
#
|
|
|
|
# Copy galaxys specific prebuilt files
|
|
|
|
#
|
|
|
|
PRODUCT_COPY_FILES += \
|
|
|
|
vendor/cyanogen/prebuilt/hdpi/media/bootanimation.zip:system/media/bootanimation.zip
|