blob: c87c77548a120ddee560f5e6a917426199fa77ed [file] [log] [blame]
lh9ed821d2023-04-07 01:36:19 -07001export CURPRJPATH=$(shell cd .. && pwd)
2export PRJ_NAME=$(shell basename $(CURPRJPATH))
3
4export TOPDIR_AP=$(shell pwd)/../../../..
5export RF_TYPE ?= 220A1
6export DCXO ?= no
7export PRJ_PRODUCT_DIR=$(TOPDIR_AP)/project/$(CHIP_NAME)/$(PRJ_NAME)
8export PRJ_CONF_DIR=$(TOPDIR_AP)/project/$(CHIP_NAME)/$(PRJ_NAME)/config
9
10ifeq ($(DCXO), yes)
11export PRJ_BIN_DIR=$(PRJ_PRODUCT_DIR)/bin/$(RF_TYPE)_dcxo
12else
13export PRJ_BIN_DIR=$(PRJ_PRODUCT_DIR)/bin/$(RF_TYPE)
14endif
15
xf.liaa4d92f2023-09-13 00:18:58 -070016export SIGN=$(TOPDIR_AP)/../tools/SignTool/SignImage
lh9ed821d2023-04-07 01:36:19 -070017export OBFU_TOOL=$(TOPDIR_AP)/../tools/stunnix/bin/cxx-obfus
18export LIBPS_BUILD_SHELL ?= build_modem_merge.sh
19export USE_TestHarness ?= no
20
21export CUSTOM_MACRO=-DAPP_OS_LINUX=1 \
22 -DAPP_OS_TOS=2 \
23 -DAPP_OS_ZEPHYR=3 \
24 -DAPP_OS_YUNOS=4 \
25 -DPRODUCT_MIFI_CPE=0 \
26 -DPRODUCT_PHONE=1 \
27 -DPRODUCT_DATACARD=2
28
29export THUMB ?= yes
30export CONFIG_MEMCHECK=no
31# copy libstdc++.so.6 to rootfs /lib
32export USE_LIBSTDCPP ?= no
33export LARGEFILE_SPLIT_ENABLE ?= no
34export KO_SPLIT_ENABLE ?= no
35export SPLIT_BLOCK_SIZE ?= 512K
36#lzma dictionary, default 512KB
37export LZMA_DICT ?= 512
38export USE_RESOURCE ?= no
39export ROOT_FS_TYPE ?= ubifs
40export USERDATA_FS_TYPE ?= ubifs
41
42export CROSS_COMPILE_VERSION ?= gcc-4.9.4_thumb_linux
43#prj_mdl_min prj_mifi_min
44export PRJ_IS_MIN ?= no
45export USE_VOICE_SUPPORT ?= yes
46export MODEM_TYPE ?= all
47export USE_CPPS_KO ?= yes
48export USE_ENABLE_LTO ?= no
49export CONFIG_KLOCWORK ?= yes
50export USE_CAP_SYS ?= no
51export USE_BTRUNK_SUPPORT ?= no
52export USE_FOTA ?= yes
53export USE_FOTA_AB ?= no
54
55#remove shell scripts comment in rootfs
56export USE_REMOVE_COMMENT ?= no
57
58# y for yes, n for no, keep same format with kernel configuration
59export CONFIG_MIN_8M_VERSION ?= n
60
61export USE_ZCAT_MBIM ?= no
62export USE_RECOVERYFS ?= no
63export USE_OEM_FS ?= no
64export USE_VEHICLE_DC ?= no
65export USE_ZXIC_DEBUG_INFO ?= no
66export LIBC_TYPE ?= uClibc
67export LIBC_VERSION ?= uClibc-0.9.33.2
68export CROSS_COMPILE_PREFIX ?= arm-buildroot-linux-uclibcgnueabi-
69export USE_GLIBC ?= no
70export LIBGCC_KERNEL ?= libgcc.a
71export LIBNVRAM_API_NEW ?= no
72export LIBSOFT_TIMER_API_NEW ?= no
xf.li742dd022023-06-08 01:43:32 -070073export USE_OPTEE ?= no
lh758261d2023-07-13 05:52:04 -070074export USE_VEHICLE_DC_REF ?= no
xf.liaa4d92f2023-09-13 00:18:58 -070075export USE_NVRO_BACKUP ?= no
xf.lice873192023-11-08 17:10:35 -080076export USE_ECALL_SUPPORT ?= no
lh9ed821d2023-04-07 01:36:19 -070077export MK_SDK_VERSION=yes