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.
75 lines
2.5 KiB
75 lines
2.5 KiB
LOCAL_PATH := $(call my-dir)
|
|
|
|
include $(CLEAR_VARS)
|
|
|
|
LOCAL_MODULE := sample_klad_clear
|
|
|
|
TARGET_ARCH := arm64
|
|
LOCAL_BUILD_STATIC := ture
|
|
|
|
LOCAL_SRC_FILES := sample_klad_clear.c parse_config_file.c
|
|
LOCAL_CFLAGS := -Ivendor/platform/secure_c/include \
|
|
-Ivendor/huanglong/linux/include/generic \
|
|
-Ivendor/huanglong/linux/include/klad \
|
|
-Ivendor/huanglong/linux/include/demux \
|
|
-Ivendor/huanglong/linux/include/cipher \
|
|
-Ivendor/huanglong/uapi/include/generic \
|
|
-Ivendor/huanglong/uapi/common/include \
|
|
-Ivendor/huanglong/uapi/memory/include \
|
|
-Ivendor/huanglong/uapi/klad/include \
|
|
-Ivendor/huanglong/uapi/keyslot/include \
|
|
-Ivendor/huanglong/uapi/demux/include \
|
|
-Ivendor/huanglong/uapi/cipher/include
|
|
|
|
LOCAL_CFLAGS += -DLOG_TAG=libuapi_klad \
|
|
-DCONFIG_SOCT_LOG_SUPPORT
|
|
|
|
LOCAL_LDFLAGS := -lpthread
|
|
|
|
LOCAL_SHARED_LIBRARIES := libuapi_securec \
|
|
libuapi_common \
|
|
libuapi_demux \
|
|
libuapi_cipher \
|
|
libuapi_keyslot \
|
|
libuapi_memory \
|
|
libuapi_klad
|
|
|
|
include $(BUILD_LINUX_EXECUTABLE)
|
|
|
|
|
|
include $(CLEAR_VARS)
|
|
|
|
LOCAL_MODULE := sample_klad_r2r
|
|
|
|
TARGET_ARCH := arm64
|
|
LOCAL_BUILD_STATIC := ture
|
|
|
|
LOCAL_SRC_FILES := sample_klad_r2r.c parse_config_file.c
|
|
LOCAL_CFLAGS := -Ivendor/platform/secure_c/include \
|
|
-Ivendor/huanglong/linux/include/generic \
|
|
-Ivendor/huanglong/linux/include/klad \
|
|
-Ivendor/huanglong/linux/include/demux \
|
|
-Ivendor/huanglong/linux/include/cipher \
|
|
-Ivendor/huanglong/uapi/include/generic \
|
|
-Ivendor/huanglong/uapi/common/include \
|
|
-Ivendor/huanglong/uapi/memory/include \
|
|
-Ivendor/huanglong/uapi/klad/include \
|
|
-Ivendor/huanglong/uapi/keyslot/include \
|
|
-Ivendor/huanglong/uapi/demux/include \
|
|
-Ivendor/huanglong/uapi/cipher/include
|
|
|
|
LOCAL_CFLAGS += -DLOG_TAG=libuapi_klad \
|
|
-DCONFIG_SOCT_LOG_SUPPORT
|
|
|
|
LOCAL_LDFLAGS := -lpthread
|
|
|
|
LOCAL_SHARED_LIBRARIES := libuapi_securec \
|
|
libuapi_common \
|
|
libuapi_demux \
|
|
libuapi_cipher \
|
|
libuapi_keyslot \
|
|
libuapi_memory \
|
|
libuapi_klad
|
|
|
|
include $(BUILD_LINUX_EXECUTABLE)
|