lh | 9ed821d | 2023-04-07 01:36:19 -0700 | [diff] [blame] | 1 | export CURPRJPATH=$(shell cd .. && pwd)
|
| 2 | export PRJ_NAME=$(shell basename $(CURPRJPATH))
|
| 3 |
|
| 4 | export TOPDIR_AP=$(shell pwd)/../../../..
|
| 5 | export RF_TYPE ?= 220A1
|
| 6 | export DCXO ?= no
|
| 7 | export PRJ_PRODUCT_DIR=$(TOPDIR_AP)/project/$(CHIP_NAME)/$(PRJ_NAME)
|
| 8 | export PRJ_CONF_DIR=$(TOPDIR_AP)/project/$(CHIP_NAME)/$(PRJ_NAME)/config
|
| 9 |
|
| 10 | ifeq ($(DCXO), yes)
|
| 11 | export PRJ_BIN_DIR=$(PRJ_PRODUCT_DIR)/bin/$(RF_TYPE)_dcxo
|
| 12 | else
|
| 13 | export PRJ_BIN_DIR=$(PRJ_PRODUCT_DIR)/bin/$(RF_TYPE)
|
| 14 | endif
|
| 15 |
|
| 16 | export SIGN=$(TOPDIR_AP)/../tools/SignImage/SignImage
|
| 17 | export OBFU_TOOL=$(TOPDIR_AP)/../tools/stunnix/bin/cxx-obfus
|
| 18 | export LIBPS_BUILD_SHELL ?= build_modem_merge.sh
|
| 19 | export USE_TestHarness ?= no
|
| 20 |
|
| 21 | export 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 |
|
| 29 | export THUMB ?= yes
|
| 30 | export CONFIG_MEMCHECK=no
|
| 31 | # copy libstdc++.so.6 to rootfs /lib
|
| 32 | export USE_LIBSTDCPP ?= no
|
| 33 | export LARGEFILE_SPLIT_ENABLE ?= no
|
| 34 | export KO_SPLIT_ENABLE ?= no
|
| 35 | export SPLIT_BLOCK_SIZE ?= 512K
|
| 36 | #lzma dictionary, default 512KB
|
| 37 | export LZMA_DICT ?= 512
|
| 38 | export USE_RESOURCE ?= no
|
| 39 | export ROOT_FS_TYPE ?= ubifs
|
| 40 | export USERDATA_FS_TYPE ?= ubifs
|
| 41 |
|
| 42 | export CROSS_COMPILE_VERSION ?= gcc-4.9.4_thumb_linux
|
| 43 | #prj_mdl_min prj_mifi_min
|
| 44 | export PRJ_IS_MIN ?= no
|
| 45 | export USE_VOICE_SUPPORT ?= yes
|
| 46 | export MODEM_TYPE ?= all
|
| 47 | export USE_CPPS_KO ?= yes
|
| 48 | export USE_ENABLE_LTO ?= no
|
| 49 | export CONFIG_KLOCWORK ?= yes
|
| 50 | export USE_CAP_SYS ?= no
|
| 51 | export USE_BTRUNK_SUPPORT ?= no
|
| 52 | export USE_FOTA ?= yes
|
| 53 | export USE_FOTA_AB ?= no
|
| 54 |
|
| 55 | #remove shell scripts comment in rootfs
|
| 56 | export USE_REMOVE_COMMENT ?= no
|
| 57 |
|
| 58 | # y for yes, n for no, keep same format with kernel configuration
|
| 59 | export CONFIG_MIN_8M_VERSION ?= n
|
| 60 |
|
| 61 | export USE_ZCAT_MBIM ?= no
|
| 62 | export USE_RECOVERYFS ?= no
|
| 63 | export USE_OEM_FS ?= no
|
| 64 | export USE_VEHICLE_DC ?= no
|
| 65 | export USE_ZXIC_DEBUG_INFO ?= no
|
| 66 | export LIBC_TYPE ?= uClibc
|
| 67 | export LIBC_VERSION ?= uClibc-0.9.33.2
|
| 68 | export CROSS_COMPILE_PREFIX ?= arm-buildroot-linux-uclibcgnueabi-
|
| 69 | export USE_GLIBC ?= no
|
| 70 | export LIBGCC_KERNEL ?= libgcc.a
|
| 71 | export LIBNVRAM_API_NEW ?= no
|
| 72 | export LIBSOFT_TIMER_API_NEW ?= no
|
xf.li | 742dd02 | 2023-06-08 01:43:32 -0700 | [diff] [blame^] | 73 | export USE_OPTEE ?= no
|
lh | 9ed821d | 2023-04-07 01:36:19 -0700 | [diff] [blame] | 74 | export MK_SDK_VERSION=yes |