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.

25 lines
670 B

LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
LOCAL_MODULE := libuapi_spi
LOCAL_MULTILIB := both
LOCAL_BUILD_STATIC := true
LOCAL_SRC_FILES := *.c
LOCAL_CFLAGS := -Ivendor/huanglong/uapi/common/include \
-Ivendor/huanglong/uapi/spi/include \
-Ivendor/huanglong/linux/include/generic \
-Ivendor/huanglong/linux/include/spi \
-Ivendor/platform/secure_c/include
LOCAL_CFLAGS += -DLOG_TAG=libuapi_spi \
-DDCONFIG_SOCT_LOG_SUPPORT \
-Wno-error=discarded-qualifiers
LOCAL_SHARED_LIBRARIES := libuapi_securec \
libuapi_common
include $(BUILD_LINUX_LIBRARY)