-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathMakefile3520d.param
42 lines (35 loc) · 1.09 KB
/
Makefile3520d.param
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
#CCARCH := arm-hisiv100-linux-
CCARCH := arm-hisiv100nptl-linux-
CFLAGS += -march=armv7-a -mcpu=cortex-a9
CXXFlAGS +=-march=armv7-a -mcpu=cortex-a9
CPPFLAGS +=-march=armv7-a -mcpu=cortex-a9
CFLAGS += -DHI3520D
CXXFlAGS += -DHI3520D
CPPFLAGS += -DHI3520D
TL_APP_SDK_DIR:=/home/Hi3520D/Hi3520D_SDK_V1.0.2.0
TL_APP_PUB_PATH:=$(TL_APP_SDK_DIR)/pub
TL_APP_DRV_PATH:=$(TL_APP_SDK_DIR)/extdrv/
TL_APP_MPP_PATH:=$(TL_APP_SDK_DIR)/mpp
TL_APP_LIB_PATH:=$(TL_APP_MPP_PATH)/lib
TL_APP_COMPONENT_PATH:=$(TL_APP_MPP_PATH)/lib
TL_APP_LIBS := $(TL_APP_LIB_PATH)/libmpi.a \
$(TL_APP_LIB_PATH)/libhdmi.a \
$(TL_APP_LIB_PATH)/libaec.a \
$(TL_APP_LIB_PATH)/libtde.a \
$(TL_APP_LIB_PATH)/libVoiceEngine.a \
$(TL_APP_LIB_PATH)/libanr.a \
$(TL_APP_LIB_PATH)/libjpeg.a \
$(TL_APP_LIB_PATH)/libresampler.a
TL_APP_INC_PATH:=-I$(TL_APP_PUB_PATH)/include \
-I$(TL_APP_MPP_PATH)/include \
-I$(TL_APP_MPP_PATH)/sample/common\
-I$(TL_APP_MPP_PATH)/sample \
-I$(TL_APP_DRV_PATH)
HISIARCH=HI3520D -DHI3520A
DBG?=N
ifeq ($(DBG),Y)
export HI_MAKE_DBG:=HI_DEBUG
export HI_SUPPORT_GDB:=YES
else
export HI_MAKE_DBG:=HI_RELEASE
endif