############################################################################ | |
# | |
# Makefile -- Top level linux makefile. | |
# | |
############################################################################ | |
#export CONFIG_WIFI_MODULE=realtek | |
#export CONFIG_WIFI_SINGLEAP=yes | |
export CONFIG_SIGN_IMAGE=yes | |
export CONFIG_USE_WEBUI=no | |
# rootfs type | |
export ROOT_FS_TYPE=jffs2 | |
#only for ubifs partition rootfs size (MB),È¥µôСÊýµã²¿·Ö | |
#export ROOTFS_SIZE=16 | |
#userdata type | |
export USERDATA_FS_TYPE=jffs2 | |
#only for ubifs partition userdata size (MB),È¥µôСÊýµã²¿·Ö | |
#export USERDATA_SIZE=89 | |
#libstdc++.so.6 for fota_dm app | |
export USE_LIBSTDCPP := yes | |
# pagesize 2K and block size 128K default | |
export PAGESIZE=0x800 | |
export ERASEBLOCK=0x20000 | |
# yes is debug mode,other value is release mode. | |
export GLOBAL_DEBUG=no | |
#fota ab | |
export USE_FOTA_AB := yes | |
# custom macro for lib and app | |
CUSTOM_MACRO += -DAPP_OS_LINUX=1 | |
CUSTOM_MACRO += -DAPP_OS_TYPE=APP_OS_LINUX | |
CUSTOM_MACRO += -DFOTA_RB_DL | |
CUSTOM_MACRO += -DPRODUCT_MIFI_CPE=0 | |
CUSTOM_MACRO += -DPRODUCT_PHONE=1 | |
CUSTOM_MACRO += -DPRODUCT_DATACARD=2 | |
CUSTOM_MACRO += -DPRODUCT_TYPE=PRODUCT_DATACARD | |
CUSTOM_MACRO += -DHAVE_MODEM_IN_CORE | |
#CUSTOM_MACRO += -D_USE_BL | |
CUSTOM_MACRO += -D_USE_VOLTE | |
CUSTOM_MACRO += -D_USE_CODEC_TI3100 | |
# fotaÉý¼¶°üÏÂÔØÍêÊÇ·ñÐèÒªÓû§È·ÈϺóÔÙÉý¼¶¿ª¹Ø | |
export ENABLE_FOTA_UPG_USR_CONFIRM=yes | |
# fotaÉý¼¶°üÏÂÔØÍêÊÇ·ñÐèÒª¸úAT CTRL½»»¥ | |
export ENABLE_FOTA_AT_MSG=yes | |
# fotaÖÜÆÚ¼ì²âRTC¼ÆÊ±ÆôÓÿª¹Ø | |
export FOTA_POLLING_USE_RTC=no | |
#fotaÏÂÔØ¿âʹÓùãÉý(gs)\ redbend (rb) | |
export ENABLE_FOTA_DM_LIB=gs | |
#enable new call module | |
export ENABLE_NEW_CC=no | |
ifeq ($(ENABLE_NEW_CC),yes) | |
CUSTOM_MACRO += -DUSE_NEW_CC | |
endif | |
#¿ØÖÆATCTLÏÂphoneĿ¼ÖеĴúÂëÊÇ·ñ²ÎÓë±àÒë | |
export ENABLE_PHONECODE_IN_ATCTL=yes | |
#¿ØÖÆÊÇ·ñʹÓûìÒô | |
export USE_MIXDATA_SUPPORT=no | |
export USE_OEM_FS := yes | |
#use gcc-4.9.4_thumb_linux_glibc | |
export LIBC_TYPE := glibc | |
export LIBC_VERSION := glibc-2.22 | |
export CROSS_COMPILE_VERSION := gcc-4.9.4_thumb_linux_glibc | |
export CROSS_COMPILE_PREFIX := arm-buildroot-linux-gnueabi- | |
export LIBGCC_KERNEL := libgcc_kernel.a | |
export LIBNVRAM_API_NEW:=yes | |
CUSTOM_MACRO += -DLIBNVRAM_API_NEW | |
export LIBSOFT_TIMER_API_NEW:=yes | |
CUSTOM_MACRO += -DLIBSOFT_TIMER_API_NEW | |