37 lines
1.0 KiB
Makefile
37 lines
1.0 KiB
Makefile
|
|
ifeq ($(PARAM_FILE), )
|
|
PARAM_FILE:=../../mpp/Makefile.param
|
|
include $(PARAM_FILE)
|
|
endif
|
|
|
|
ifeq ($(MPP_BUILD), y)
|
|
ifeq ($(CBB_PARAM_FILE), )
|
|
CBB_PARAM_FILE:=../../mpp/cbb/Makefile.param
|
|
include $(CBB_PARAM_FILE)
|
|
endif
|
|
endif
|
|
#*******************************************************************************
|
|
#Set the source code and include path
|
|
|
|
#*******************************************************************************
|
|
#Include all modules subdir INC.
|
|
# The common head include file
|
|
|
|
#
|
|
DRV_CFLAGS += --warn-stack-usage=2000
|
|
export EXTDRV_PARAM_FILE
|
|
|
|
#*******************************************************************************
|
|
#used to linux kernel kbuild EXTRA_CFLAGS or liteos build flags.
|
|
EXTDRV_CFLAGS += -Wall -D$(OT_ARCH) -DOT_CHIP=$(OT_CHIP) -D$(OT_FPGA)
|
|
|
|
#NOTES! pls active the macro USE_SYSCTL and _USE_LLI_,when you run in FPGA board
|
|
EXTDRV_CFLAGS += -D_USE_LLI_
|
|
|
|
EXTDRV_CFLAGS += $(DRV_CFLAGS)
|
|
|
|
|
|
#*******************************************************************************
|
|
#
|
|
export EXTDRV_CFLAGS
|