#------------------------------------------------------------------------------- # Configure variable #------------------------------------------------------------------------------- TOP_DIR:=${TOP_DIR} MAKEFILE_PATH :=$(subst $(strip \),/,$(abspath $(lastword $(MAKEFILE_LIST)))) #------------------------------------------------------------------------------- # Configure source code files #------------------------------------------------------------------------------- SRC_FILES+= \ quec_hx_gps_update.c \ gps_channel.c \ ql_sim.c \ quec_adc.c \ quec_atcmd_general.c \ quec_ci_process.c \ quec_wifi_msg.c \ quec_hx_gps.c \ quec_flash.c \ quec_keypad.c \ quec_apn_table.c \ quec_uart.c \ quec_pwm.c \ #------------------------------------------------------------------------------- # the include directories #------------------------------------------------------------------------------- INC_DIRS+= \ -I${TOP_DIR}\ \ -I${TOP_DIR}\common\include \ #------------------------------------------------------------------------------- # Configure compile flag for C #------------------------------------------------------------------------------- ifneq (,$(findstring 1606,${ASR_PLATFORM})) U_FLAGS+= \ endif ifneq (,$(findstring 1602,${ASR_PLATFORM})) U_FLAGS+= \ endif ifneq (,$(findstring 1605,${ASR_PLATFORM})) U_FLAGS+= \ endif #------------------------------------------------------------------------------- # Configure compile flag for C++ #------------------------------------------------------------------------------- U_CPPFLAGS+= #------------------------------------------------------------------------------- # Configure default macro define #------------------------------------------------------------------------------- ifneq (,$(findstring 1606,${ASR_PLATFORM})) DFLAGS+= \ -D"NO_APLP=0" \ -D"GPRS_MULTISLOT_CLASS=12" \ -D"EGPRS_MULTISLOT_CLASS=12" \ endif ifneq (,$(findstring 1602,${ASR_PLATFORM})) DFLAGS+= \ -D"NO_APLP=0" \ -D"GPRS_MULTISLOT_CLASS=12" \ -D"EGPRS_MULTISLOT_CLASS=12" \ endif ifneq (,$(findstring 1605,${ASR_PLATFORM})) DFLAGS+= \ -D"NO_APLP=0" \ -D"GPRS_MULTISLOT_CLASS=12" \ -D"EGPRS_MULTISLOT_CLASS=12" \ endif #------------------------------------------------------------------------------- # Configure link library #------------------------------------------------------------------------------- U_LIBS:= #------------------------------------------------------------------------------- # include mk file #------------------------------------------------------------------------------- include ${TOP_DIR}\config\common\makefile.mk