peregrine: Build init as C++
Change-Id: I310a0a079caa49be56b7090f75db4a9129d49a80
This commit is contained in:
parent
2303cc2ba3
commit
0249dd823e
|
@ -21,7 +21,7 @@ DEVICE_PATH := device/motorola/peregrine
|
|||
# Vendor Unification Init
|
||||
TARGET_UNIFIED_DEVICE := true
|
||||
TARGET_INIT_VENDOR_LIB := libinit_msm
|
||||
TARGET_LIBINIT_DEFINES_FILE := $(DEVICE_PATH)/init/init_peregrine.c
|
||||
TARGET_LIBINIT_DEFINES_FILE := $(DEVICE_PATH)/init/init_peregrine.cpp
|
||||
|
||||
# Board
|
||||
TARGET_BOARD_INFO_FILE := $(DEVICE_PATH)/board-info.txt
|
||||
|
|
|
@ -38,7 +38,7 @@
|
|||
#include "init_msm.h"
|
||||
|
||||
void gsm_properties();
|
||||
void cdma_properties(char cdma_sub[]);
|
||||
void cdma_properties(const char *cdma_sub);
|
||||
|
||||
void init_msm_properties(unsigned long msm_id, unsigned long msm_ver, char *board_type)
|
||||
{
|
||||
|
@ -131,7 +131,7 @@ void gsm_properties()
|
|||
property_set("ro.telephony.default_network", "9");
|
||||
}
|
||||
|
||||
void cdma_properties(char cdma_sub[])
|
||||
void cdma_properties(const char *cdma_sub)
|
||||
{
|
||||
property_set("ro.telephony.default_cdma_sub", cdma_sub);
|
||||
property_set("ril.subscription.types","NV,RUIM");
|
Loading…
Reference in New Issue