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.

34 lines
1.0 KiB

LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
LOCAL_MODULE := libuapi_flash
LOCAL_MULTILIB := both
LOCAL_BUILD_STATIC := true
LOCAL_SRC_FILES := cmdline_parts.c \
common.c \
emmc_raw.c \
flash_ext.c \
mpi_flash.c \
nand_raw.c \
nand.c \
spi_raw.c \
ufs_raw.c
LOCAL_CFLAGS := -Ivendor/huanglong/uapi/flash/include \
-Ivendor/huanglong/uapi/flash/source/include \
-Ivendor/huanglong/uapi/common/include \
-Ivendor/huanglong/linux/include/generic \
-Ivendor/platform/secure_c/include
LOCAL_CFLAGS += -DLOG_TAG=libuapi_flash \
-DCONFIG_SOCT_LOG_SUPPORT \
-D_GNU_SOURCE \
-Wno-unused -Wno-unused-parameter \
-Wno-sign-compare
LOCAL_SHARED_LIBRARIES := libuapi_common \
libuapi_securec
include $(BUILD_LINUX_LIBRARY)