Add a common cyanogenmod config
This commit is contained in:
parent
8d1442d737
commit
4e6d9372ae
14
product/common.mk
Normal file
14
product/common.mk
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
PRODUCT_NAME := cyanogen
|
||||||
|
PRODUCT_BRAND := cyanogen
|
||||||
|
PRODUCT_DEVICE := generic
|
||||||
|
|
||||||
|
TARGET_OTA_SCRIPT_MODE = edify
|
||||||
|
|
||||||
|
PRODUCT_PROPERTY_OVERRIDES += \
|
||||||
|
ro.rommanager.developerid=cyanogenmod
|
||||||
|
|
||||||
|
PRODUCT_PACKAGES += \
|
||||||
|
CMParts
|
||||||
|
|
||||||
|
PRODUCT_COPY_FILES += \
|
||||||
|
vendor/cyanogen/CHANGELOG:system/etc/CHANGELOG-CM.txt
|
@ -1,4 +1,7 @@
|
|||||||
|
# Inherit AOSP device configuration for passion.
|
||||||
$(call inherit-product, device/htc/passion/full_passion.mk)
|
$(call inherit-product, device/htc/passion/full_passion.mk)
|
||||||
|
|
||||||
|
# Inherit some common cyanogenmod stuff.
|
||||||
$(call inherit-product, vendor/cyanogen/product/common.mk)
|
$(call inherit-product, vendor/cyanogen/product/common.mk)
|
||||||
|
|
||||||
PRODUCT_NAME := cyanogen_passion
|
PRODUCT_NAME := cyanogen_passion
|
||||||
@ -6,3 +9,12 @@ PRODUCT_BRAND := google
|
|||||||
PRODUCT_DEVICE := passion
|
PRODUCT_DEVICE := passion
|
||||||
PRODUCT_MODEL := Nexus One
|
PRODUCT_MODEL := Nexus One
|
||||||
PRODUCT_MANUFACTURER := HTC
|
PRODUCT_MANUFACTURER := HTC
|
||||||
|
|
||||||
|
# Set ro.modversion
|
||||||
|
ifdef CYANOGEN_NIGHTLY
|
||||||
|
PRODUCT_PROPERTY_OVERRIDES += \
|
||||||
|
ro.modversion=CyanogenMod-6-$(shell date +%m%d%Y)-NIGHTLY-N1
|
||||||
|
else
|
||||||
|
PRODUCT_PROPERTY_OVERRIDES += \
|
||||||
|
ro.modversion=CyanogenMod-6.0.0-N1-test0
|
||||||
|
endif
|
||||||
|
Loading…
Reference in New Issue
Block a user