You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

53 lines
2.0 KiB

LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
LOCAL_MODULE := libuapi_dbgtools
LOCAL_MULTILIB := both
LOCAL_BUILD_STATIC := true
LOCAL_SRC_FILES := *.c
LOCAL_CFLAGS := -Ivendor/platform/secure_c/include \
-Ivendor/huanglong/linux/include/generic \
-Ivendor/huanglong/linux/include/video \
-Ivendor/huanglong/linux/include/pq \
-Ivendor/huanglong/linux/include/panel \
-Ivendor/huanglong/linux/include/vo \
-Ivendor/huanglong/linux/include/memc \
-Ivendor/huanglong/linux/include/common \
-Ivendor/huanglong/linux/include/tvd \
-Ivendor/huanglong/linux/include/hddec \
-Ivendor/huanglong/uapi/dbgtools/include \
-Ivendor/huanglong/uapi/common/include \
-Ivendor/huanglong/uapi/memory/include \
-Ivendor/huanglong/uapi/pq/include \
-Ivendor/huanglong/uapi/panel/include \
-Ivendor/huanglong/uapi/uart/include \
-Ivendor/huanglong/uapi/vo/include \
-Ivendor/huanglong/uapi/tvd/include \
-Ivendor/huanglong/uapi/pwm/include \
-Ivendor/huanglong/uapi/i2c/include \
-Ivendor/huanglong/uapi/gpio/include \
-Ivendor/huanglong/uapi/dbgtools/source/include
LOCAL_CFLAGS += -DLOG_TAG=libuapi_dbgtools \
-DDCONFIG_SOCT_LOG_SUPPORT \
-DSOCT_MDBG_VERSION_LINUX
LOCAL_LDFLAGS := -lpthread
LOCAL_SHARED_LIBRARIES := libuapi_securec \
libuapi_common \
libuapi_memory \
libuapi_panel \
libuapi_i2c \
libuapi_gpio \
libuapi_pq \
libuapi_vo \
libuapi_uart \
libuapi_pwm \
libuapi_tvd
include $(BUILD_LINUX_LIBRARY)