blob: 6adbf1546f0ac9dc924a2b638013ce7a97cdd012 [file] [log] [blame]
# Define source file lists to SRC_LIST
SRC_LIST = driver/devdrv/common/src/devdrv_common.c \
driver/devdrv/asm/src/drv_asm.c
ifeq ($(filter __ARM7EJ_S__, $(strip $(MODULE_DEFS))),)
SRC_LIST += driver/devdrv/common/src/$(COMPILER)/mon_counter.S
endif
#SRC_LIST = driver/devdrv/common/src/drv_comm.c \
driver/devdrv/common/src/$(COMPILER)/mon_counter.S
# Define include path lists to INC_DIR
INC_DIR = driver/devdrv/common/inc \
driver/devdrv/trace \
driver/sys_drv/cache/inc \
driver/sys_drv/cache/inc/$(MD_VER_FOLDER) \
driver/sys_drv/mpu/inc/$(MD_VER_FOLDER) \
driver/sys_drv/pmu/inc \
driver/sys_drv/pmu/inc/$(MD_VER_FOLDER) \
interface/driver/devdrv/ect \
interface/l1/el1/external \
./service/sst/include \
./service/sst/include \
./service/sss/interface/inc \
./service/sys_svc/gfh/public \
./interface/service/sys_svc \
interface/driver/devdrv/busmpu \
$(strip $(PROJDIR))/custom/driver/drv_gen \
./interface/service/sst \
driver/devdrv/asm/inc \
interface/driver/sib_drv/scc \
interface/driver/sleep_drv \
driver/sib_drv/mtad/inc \
./interface/service/prbm \
./interface/driver/hif/hif_pccif4dev \
./interface/driver/hif/hif_pccif5dev \
./interface/driver/hif/hif_mhccifdev
INC_DIR += ./interface/driver/storage/sim
INC_DIR += driver/devdrv/pcie/inc
#fdr_reorg
INC_DIR += interface/protocol/as_c2k/common \
interface/service/sbp \
custom/protocol/common/ps
# Define the specified compile options to COMP_DEFS
COMP_DEFS =
# Define the source file search paths to SRC_PATH
SRC_PATH = driver/devdrv/common/src \
driver/devdrv/common/src/$(COMPILER)
-include make/module/driver/peripheral/extern/devdrv/gpt.mak
-include make/module/driver/peripheral/extern/devdrv/pcmon.mak
-include make/module/driver/peripheral/extern/devdrv/uart.mak
-include make/module/driver/peripheral/extern/devdrv/gdma_ps.mak
-include make/module/driver/peripheral/extern/devdrv/l1gdma.mak
-include make/module/driver/peripheral/extern/devdrv/usim.mak
-include make/module/driver/peripheral/extern/devdrv/coresight.mak
-include make/module/driver/peripheral/extern/devdrv/gpio.mak
-include make/module/driver/peripheral/extern/devdrv/eint.mak
-include make/module/driver/peripheral/extern/devdrv/dem.mak
#-include make/module/driver/peripheral/extern/devdrv/pfc.mak
-include make/module/driver/peripheral/extern/devdrv/idc.mak
-include make/module/driver/peripheral/extern/devdrv/cirq.mak
-include make/module/driver/peripheral/extern/devdrv/us_counter.mak
-include make/module/driver/peripheral/extern/devdrv/devdrv_fakeapi.mak
-include make/module/driver/peripheral/extern/devdrv/auxadc.mak
#-include make/module/driver/mc.mak
-include make/module/driver/peripheral/extern/devdrv/rtc.mak
#-include make/module/driver/devdrv/malmo.mak
-include make/module/driver/peripheral/extern/devdrv/pmic.mak
-include make/module/driver/peripheral/extern/devdrv/pmic_wrap.mak
-include make/module/driver/peripheral/extern/devdrv/spmi.mak
-include make/module/driver/peripheral/extern/devdrv/bsi.mak
-include make/module/driver/peripheral/extern/devdrv/cfgctl.mak
-include make/module/driver/peripheral/extern/devdrv/f32k_clk.mak
-include make/module/driver/peripheral/extern/devdrv/dcm.mak
-include make/module/driver/peripheral/extern/devdrv/emi.mak
-include make/module/driver/peripheral/extern/devdrv/pll.mak
-include make/module/driver/peripheral/extern/devdrv/iomux.mak
-include make/module/driver/peripheral/extern/devdrv/busmon.mak
-include make/module/driver/peripheral/extern/devdrv/pdn.mak
-include make/module/driver/peripheral/extern/devdrv/arm7wdt.mak
-include make/module/driver/peripheral/extern/devdrv/boot_init.mak
-include make/module/driver/peripheral/extern/devdrv/pw.mak
-include make/module/driver/peripheral/extern/devdrv/chr_det.mak
-include make/module/driver/peripheral/extern/devdrv/bus.mak
-include make/module/driver/peripheral/extern/devdrv/busmpu.mak
-include make/module/driver/peripheral/extern/devdrv/i2c.mak
-include make/module/driver/peripheral/extern/devdrv/rstctl.mak
-include make/module/driver/peripheral/extern/devdrv/mdl_ebc.mak
-include make/module/driver/peripheral/extern/devdrv/log_seq.mak
-include make/module/driver/peripheral/extern/devdrv/ect.mak
-include make/module/driver/peripheral/extern/devdrv/elm.mak
-include make/module/driver/peripheral/extern/devdrv/mdap_interface.mak
-include make/module/driver/peripheral/extern/devdrv/cmif.mak
-include make/module/driver/peripheral/extern/devdrv/cuif.mak
-include make/module/driver/peripheral/extern/devdrv/csif.mak
-include make/module/driver/peripheral/extern/devdrv/cs_pmu.mak
-include make/module/driver/peripheral/extern/devdrv/d2d.mak
-include make/module/driver/peripheral/extern/devdrv/dsp_bus.mak
-include make/module/driver/peripheral/extern/devdrv/cs_sram_ctrl.mak
-include make/module/driver/peripheral/extern/devdrv/soe.mak
-include make/module/driver/peripheral/extern/devdrv/pms.mak
-include make/module/driver/peripheral/extern/devdrv/digrf_platform.mak
-include make/module/driver/peripheral/extern/devdrv/btdma.mak
-include make/module/driver/peripheral/extern/devdrv/l3cache.mak
-include make/module/driver/peripheral/extern/devdrv/pcie.mak
-include make/module/driver/peripheral/extern/devdrv/tia.mak
# 2016/05/31, temp comment this option due to Yuri Huang's request
#ifeq ($(strip $(COMPILER)),GCC)
# CFLAGS += -Werror
#endif
ifneq ($(filter TRUE,$(SIM_SWTICH_CONTROLLER_MT6306)),)
-include make/module/driver/peripheral/extern/devdrv/mt6306.mak
endif
# These modules have no HW & Drv now, only fake api for compile
#-include make\bsp\devdrv\lcd.mak
ifeq ($(strip $(TEST_LOAD_TYPE)),BASIC)
INC_DIR += ./interface/service/hif \
./interface/service/hif
endif