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.

549 lines
22 KiB

LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
LOCAL_PROPRIETARY_MODULE := true
LOCAL_MODULE := sample_otp_customerkey
LOCAL_MULTILIB := 32
LOCAL_MODULE_TAGS := optional
LOCAL_CFLAGS := $(CFG_SOCT_CFLAGS) $(CFG_SOCT_BOARD_CONFIGS)
LOCAL_CFLAGS += -DLOG_TAG=\"$(LOCAL_MODULE)\"
LOCAL_SRC_FILES := sample_otp_customerkey.c
LOCAL_C_INCLUDES := $(LOCAL_PATH)/../../uapi/otp/basic/include \
$(LOCAL_PATH)/../../uapi/common/include \
$(LOCAL_PATH)/../../linux/include/generic \
vendor/platform/secure_c/include
LOCAL_SHARED_LIBRARIES := libcutils libuapi_common libuapi_securec libuapi_otpbasic
include $(BUILD_EXECUTABLE)
include $(CLEAR_VARS)
LOCAL_PROPRIETARY_MODULE := true
LOCAL_MODULE := sample_otp_privdata
LOCAL_MULTILIB := 32
LOCAL_MODULE_TAGS := optional
LOCAL_CFLAGS := $(CFG_SOCT_CFLAGS) $(CFG_SOCT_BOARD_CONFIGS)
LOCAL_CFLAGS += -DLOG_TAG=\"$(LOCAL_MODULE)\"
LOCAL_SRC_FILES := sample_otp_privdata.c
LOCAL_C_INCLUDES := $(LOCAL_PATH)/../../uapi/otp/basic/include \
$(LOCAL_PATH)/../../uapi/common/include \
$(LOCAL_PATH)/../../linux/include/generic \
vendor/platform/secure_c/include
LOCAL_SHARED_LIBRARIES := libcutils libuapi_common libuapi_securec libuapi_otpbasic
include $(BUILD_EXECUTABLE)
include $(CLEAR_VARS)
LOCAL_PROPRIETARY_MODULE := true
LOCAL_MODULE := sample_otp_serial_number
LOCAL_MULTILIB := 32
LOCAL_MODULE_TAGS := optional
LOCAL_CFLAGS := $(CFG_SOCT_CFLAGS) $(CFG_SOCT_BOARD_CONFIGS)
LOCAL_CFLAGS += -DLOG_TAG=\"$(LOCAL_MODULE)\"
LOCAL_SRC_FILES := sample_otp_serial_number.c
LOCAL_C_INCLUDES := $(LOCAL_PATH)/../../uapi/otp/basic/include \
$(LOCAL_PATH)/../../uapi/common/include \
$(LOCAL_PATH)/../../linux/include/generic \
vendor/platform/secure_c/include
LOCAL_SHARED_LIBRARIES := libcutils libuapi_common libuapi_securec libuapi_otpbasic
include $(BUILD_EXECUTABLE)
include $(CLEAR_VARS)
LOCAL_PROPRIETARY_MODULE := true
LOCAL_MODULE := sample_otp_selfboot
LOCAL_MULTILIB := 32
LOCAL_MODULE_TAGS := optional
LOCAL_CFLAGS := $(CFG_SOCT_CFLAGS) $(CFG_SOCT_BOARD_CONFIGS)
LOCAL_CFLAGS += -DLOG_TAG=\"$(LOCAL_MODULE)\"
LOCAL_SRC_FILES := sample_otp_selfboot.c
LOCAL_C_INCLUDES := $(LOCAL_PATH)/../../uapi/otp/basic/include \
$(LOCAL_PATH)/../../uapi/common/include \
$(LOCAL_PATH)/../../linux/include/generic \
vendor/platform/secure_c/include
LOCAL_SHARED_LIBRARIES := libcutils libuapi_common libuapi_securec libuapi_otpbasic
include $(BUILD_EXECUTABLE)
include $(CLEAR_VARS)
LOCAL_PROPRIETARY_MODULE := true
LOCAL_MODULE := sample_otp_bootdecrypt
LOCAL_MULTILIB := 32
LOCAL_MODULE_TAGS := optional
LOCAL_CFLAGS := $(CFG_SOCT_CFLAGS) $(CFG_SOCT_BOARD_CONFIGS)
LOCAL_CFLAGS += -DLOG_TAG=\"$(LOCAL_MODULE)\"
LOCAL_SRC_FILES := sample_otp_bootdecrypt.c
LOCAL_C_INCLUDES := $(LOCAL_PATH)/../../uapi/otp/basic/include \
$(LOCAL_PATH)/../../uapi/common/include \
$(LOCAL_PATH)/../../linux/include/generic \
vendor/platform/secure_c/include
LOCAL_SHARED_LIBRARIES := libcutils libuapi_common libuapi_securec libuapi_otpbasic
include $(BUILD_EXECUTABLE)
include $(CLEAR_VARS)
LOCAL_PROPRIETARY_MODULE := true
LOCAL_MODULE := sample_otp_scs
LOCAL_MULTILIB := 32
LOCAL_MODULE_TAGS := optional
LOCAL_CFLAGS := $(CFG_SOCT_CFLAGS) $(CFG_SOCT_BOARD_CONFIGS)
LOCAL_CFLAGS += -DLOG_TAG=\"$(LOCAL_MODULE)\"
LOCAL_SRC_FILES := sample_otp_scs.c
LOCAL_C_INCLUDES := $(LOCAL_PATH)/../../uapi/otp/basic/include \
$(LOCAL_PATH)/../../uapi/common/include \
$(LOCAL_PATH)/../../linux/include/generic \
vendor/platform/secure_c/include
LOCAL_SHARED_LIBRARIES := libcutils libuapi_common libuapi_securec libuapi_otpbasic
include $(BUILD_EXECUTABLE)
include $(CLEAR_VARS)
LOCAL_PROPRIETARY_MODULE := true
LOCAL_MODULE := sample_otp_trustzone
LOCAL_MULTILIB := 32
LOCAL_MODULE_TAGS := optional
LOCAL_CFLAGS := $(CFG_SOCT_CFLAGS) $(CFG_SOCT_BOARD_CONFIGS)
LOCAL_CFLAGS += -DLOG_TAG=\"$(LOCAL_MODULE)\"
LOCAL_SRC_FILES := sample_otp_trustzone.c
LOCAL_C_INCLUDES := $(LOCAL_PATH)/../../uapi/otp/basic/include \
$(LOCAL_PATH)/../../uapi/common/include \
$(LOCAL_PATH)/../../linux/include/generic \
vendor/platform/secure_c/include
LOCAL_SHARED_LIBRARIES := libcutils libuapi_common libuapi_securec libuapi_otpbasic
include $(BUILD_EXECUTABLE)
include $(CLEAR_VARS)
LOCAL_PROPRIETARY_MODULE := true
LOCAL_MODULE := sample_otp_ddrwakeup
LOCAL_MULTILIB := 32
LOCAL_MODULE_TAGS := optional
LOCAL_CFLAGS := $(CFG_SOCT_CFLAGS) $(CFG_SOCT_BOARD_CONFIGS)
LOCAL_CFLAGS += -DLOG_TAG=\"$(LOCAL_MODULE)\"
LOCAL_SRC_FILES := sample_otp_ddrwakeup.c
LOCAL_C_INCLUDES := $(LOCAL_PATH)/../../uapi/otp/basic/include \
$(LOCAL_PATH)/../../uapi/common/include \
$(LOCAL_PATH)/../../linux/include/generic \
vendor/platform/secure_c/include
LOCAL_SHARED_LIBRARIES := libcutils libuapi_common libuapi_securec libuapi_otpbasic
include $(BUILD_EXECUTABLE)
include $(CLEAR_VARS)
LOCAL_PROPRIETARY_MODULE := true
LOCAL_MODULE := sample_otp_ddrwakeupcheck
LOCAL_MULTILIB := 32
LOCAL_MODULE_TAGS := optional
LOCAL_CFLAGS := $(CFG_SOCT_CFLAGS) $(CFG_SOCT_BOARD_CONFIGS)
LOCAL_CFLAGS += -DLOG_TAG=\"$(LOCAL_MODULE)\"
LOCAL_SRC_FILES := sample_otp_ddrwakeupcheck.c
LOCAL_C_INCLUDES := $(LOCAL_PATH)/../../uapi/otp/basic/include \
$(LOCAL_PATH)/../../uapi/common/include \
$(LOCAL_PATH)/../../linux/include/generic \
vendor/platform/secure_c/include
LOCAL_SHARED_LIBRARIES := libcutils libuapi_common libuapi_securec libuapi_otpbasic
include $(BUILD_EXECUTABLE)
include $(CLEAR_VARS)
LOCAL_PROPRIETARY_MODULE := true
LOCAL_MODULE := sample_otp_globalotp
LOCAL_MULTILIB := 32
LOCAL_MODULE_TAGS := optional
LOCAL_CFLAGS := $(CFG_SOCT_CFLAGS) $(CFG_SOCT_BOARD_CONFIGS)
LOCAL_CFLAGS += -DLOG_TAG=\"$(LOCAL_MODULE)\"
LOCAL_SRC_FILES := sample_otp_globalotp.c
LOCAL_C_INCLUDES := $(LOCAL_PATH)/../../uapi/otp/basic/include \
$(LOCAL_PATH)/../../uapi/common/include \
$(LOCAL_PATH)/../../linux/include/generic \
vendor/platform/secure_c/include
LOCAL_SHARED_LIBRARIES := libcutils libuapi_common libuapi_securec libuapi_otpbasic
include $(BUILD_EXECUTABLE)
include $(CLEAR_VARS)
LOCAL_PROPRIETARY_MODULE := true
LOCAL_MODULE := sample_otp_runtimecheck
LOCAL_MULTILIB := 32
LOCAL_MODULE_TAGS := optional
LOCAL_CFLAGS := $(CFG_SOCT_CFLAGS) $(CFG_SOCT_BOARD_CONFIGS)
LOCAL_CFLAGS += -DLOG_TAG=\"$(LOCAL_MODULE)\"
LOCAL_SRC_FILES := sample_otp_runtimecheck.c
LOCAL_C_INCLUDES := $(LOCAL_PATH)/../../uapi/otp/basic/include \
$(LOCAL_PATH)/../../uapi/common/include \
$(LOCAL_PATH)/../../linux/include/generic \
vendor/platform/secure_c/include
LOCAL_SHARED_LIBRARIES := libcutils libuapi_common libuapi_securec libuapi_otpbasic
include $(BUILD_EXECUTABLE)
include $(CLEAR_VARS)
LOCAL_PROPRIETARY_MODULE := true
LOCAL_MODULE := sample_otp_bootversionid
LOCAL_MULTILIB := 32
LOCAL_MODULE_TAGS := optional
LOCAL_CFLAGS := $(CFG_SOCT_CFLAGS) $(CFG_SOCT_BOARD_CONFIGS)
LOCAL_CFLAGS += -DLOG_TAG=\"$(LOCAL_MODULE)\"
LOCAL_SRC_FILES := sample_otp_bootversionid.c
LOCAL_C_INCLUDES := $(LOCAL_PATH)/../../uapi/otp/basic/include \
$(LOCAL_PATH)/../../uapi/common/include \
$(LOCAL_PATH)/../../linux/include/generic \
vendor/platform/secure_c/include
LOCAL_SHARED_LIBRARIES := libcutils libuapi_common libuapi_securec libuapi_otpbasic
include $(BUILD_EXECUTABLE)
include $(CLEAR_VARS)
LOCAL_PROPRIETARY_MODULE := true
LOCAL_MODULE := sample_otp_bootvendorid
LOCAL_MULTILIB := 32
LOCAL_MODULE_TAGS := optional
LOCAL_CFLAGS := $(CFG_SOCT_CFLAGS) $(CFG_SOCT_BOARD_CONFIGS)
LOCAL_CFLAGS += -DLOG_TAG=\"$(LOCAL_MODULE)\"
LOCAL_SRC_FILES := sample_otp_bootvendorid.c
LOCAL_C_INCLUDES := $(LOCAL_PATH)/../../uapi/otp/basic/include \
$(LOCAL_PATH)/../../uapi/common/include \
$(LOCAL_PATH)/../../linux/include/generic \
vendor/platform/secure_c/include
LOCAL_SHARED_LIBRARIES := libcutils libuapi_common libuapi_securec libuapi_otpbasic
include $(BUILD_EXECUTABLE)
include $(CLEAR_VARS)
LOCAL_PROPRIETARY_MODULE := true
LOCAL_MODULE := sample_otp_chipid
LOCAL_MULTILIB := 32
LOCAL_MODULE_TAGS := optional
LOCAL_CFLAGS := $(CFG_SOCT_CFLAGS) $(CFG_SOCT_BOARD_CONFIGS)
LOCAL_CFLAGS += -DLOG_TAG=\"$(LOCAL_MODULE)\"
LOCAL_SRC_FILES := sample_otp_chipid.c
LOCAL_C_INCLUDES := $(LOCAL_PATH)/../../uapi/otp/basic/include \
$(LOCAL_PATH)/../../uapi/common/include \
$(LOCAL_PATH)/../../linux/include/generic \
vendor/platform/secure_c/include
LOCAL_SHARED_LIBRARIES := libcutils libuapi_common libuapi_securec libuapi_otpbasic
include $(BUILD_EXECUTABLE)
include $(CLEAR_VARS)
LOCAL_PROPRIETARY_MODULE := true
LOCAL_MODULE := sample_otp_asymmetrickeyhash
LOCAL_MULTILIB := 32
LOCAL_MODULE_TAGS := optional
LOCAL_CFLAGS := $(CFG_SOCT_CFLAGS) $(CFG_SOCT_BOARD_CONFIGS)
LOCAL_CFLAGS += -DLOG_TAG=\"$(LOCAL_MODULE)\"
LOCAL_SRC_FILES := sample_otp_asymmetrickeyhash.c
LOCAL_C_INCLUDES := $(LOCAL_PATH)/../../uapi/otp/basic/include \
$(LOCAL_PATH)/../../uapi/common/include \
$(LOCAL_PATH)/../../linux/include/generic \
vendor/platform/secure_c/include
LOCAL_SHARED_LIBRARIES := libcutils libuapi_common libuapi_securec libuapi_otpbasic
include $(BUILD_EXECUTABLE)
include $(CLEAR_VARS)
LOCAL_PROPRIETARY_MODULE := true
LOCAL_MODULE := sample_otp_msid
LOCAL_MULTILIB := 32
LOCAL_MODULE_TAGS := optional
LOCAL_CFLAGS := $(CFG_SOCT_CFLAGS) $(CFG_SOCT_BOARD_CONFIGS)
LOCAL_CFLAGS += -DLOG_TAG=\"$(LOCAL_MODULE)\"
LOCAL_SRC_FILES := sample_otp_msid.c
LOCAL_C_INCLUDES := $(LOCAL_PATH)/../../uapi/otp/basic/include \
$(LOCAL_PATH)/../../uapi/common/include \
$(LOCAL_PATH)/../../linux/include/generic \
vendor/platform/secure_c/include
LOCAL_SHARED_LIBRARIES := libcutils libuapi_common libuapi_securec libuapi_otpbasic
include $(BUILD_EXECUTABLE)
include $(CLEAR_VARS)
LOCAL_PROPRIETARY_MODULE := true
LOCAL_MODULE := sample_otp_jtagmode
LOCAL_MULTILIB := 32
LOCAL_MODULE_TAGS := optional
LOCAL_CFLAGS := $(CFG_SOCT_CFLAGS) $(CFG_SOCT_BOARD_CONFIGS)
LOCAL_CFLAGS += -DLOG_TAG=\"$(LOCAL_MODULE)\"
LOCAL_SRC_FILES := sample_otp_jtagmode.c
LOCAL_C_INCLUDES := $(LOCAL_PATH)/../../uapi/otp/basic/include \
$(LOCAL_PATH)/../../uapi/common/include \
$(LOCAL_PATH)/../../linux/include/generic \
vendor/platform/secure_c/include
LOCAL_SHARED_LIBRARIES := libcutils libuapi_common libuapi_securec libuapi_otpbasic
include $(BUILD_EXECUTABLE)
include $(CLEAR_VARS)
LOCAL_PROPRIETARY_MODULE := true
LOCAL_MODULE := sample_otp_bootmode
LOCAL_MULTILIB := 32
LOCAL_MODULE_TAGS := optional
LOCAL_CFLAGS := $(CFG_SOCT_CFLAGS) $(CFG_SOCT_BOARD_CONFIGS)
LOCAL_CFLAGS += -DLOG_TAG=\"$(LOCAL_MODULE)\"
LOCAL_SRC_FILES := sample_otp_bootmode.c
LOCAL_C_INCLUDES := $(LOCAL_PATH)/../../uapi/otp/basic/include \
$(LOCAL_PATH)/../../uapi/common/include \
$(LOCAL_PATH)/../../linux/include/generic \
vendor/platform/secure_c/include
LOCAL_SHARED_LIBRARIES := libcutils libuapi_common libuapi_securec libuapi_otpbasic
include $(BUILD_EXECUTABLE)
include $(CLEAR_VARS)
LOCAL_PROPRIETARY_MODULE := true
LOCAL_MODULE := sample_otp_rootkey
LOCAL_MULTILIB := 32
LOCAL_MODULE_TAGS := optional
LOCAL_CFLAGS := $(CFG_SOCT_CFLAGS) $(CFG_SOCT_BOARD_CONFIGS)
LOCAL_CFLAGS += -DLOG_TAG=\"$(LOCAL_MODULE)\"
LOCAL_SRC_FILES := sample_otp_rootkey.c
LOCAL_C_INCLUDES := $(LOCAL_PATH)/../../uapi/otp/basic/include \
$(LOCAL_PATH)/../../uapi/common/include \
$(LOCAL_PATH)/../../linux/include/generic \
vendor/platform/secure_c/include
LOCAL_SHARED_LIBRARIES := libcutils libuapi_common libuapi_securec libuapi_otpbasic
include $(BUILD_EXECUTABLE)
include $(CLEAR_VARS)
LOCAL_PROPRIETARY_MODULE := true
LOCAL_MODULE := sample_otp_lockidword
LOCAL_MULTILIB := 32
LOCAL_MODULE_TAGS := optional
LOCAL_CFLAGS := $(CFG_SOCT_CFLAGS) $(CFG_SOCT_BOARD_CONFIGS)
LOCAL_CFLAGS += -DLOG_TAG=\"$(LOCAL_MODULE)\"
LOCAL_SRC_FILES := sample_otp_lockidword.c
LOCAL_C_INCLUDES := $(LOCAL_PATH)/../../uapi/otp/basic/include \
$(LOCAL_PATH)/../../uapi/common/include \
$(LOCAL_PATH)/../../linux/include/generic \
vendor/platform/secure_c/include
LOCAL_SHARED_LIBRARIES := libcutils libuapi_common libuapi_securec libuapi_otpbasic
include $(BUILD_EXECUTABLE)
include $(CLEAR_VARS)
LOCAL_PROPRIETARY_MODULE := true
LOCAL_MODULE := sample_otp_productpv
LOCAL_MULTILIB := 32
LOCAL_MODULE_TAGS := optional
LOCAL_CFLAGS := $(CFG_SOCT_CFLAGS) $(CFG_SOCT_BOARD_CONFIGS)
LOCAL_CFLAGS += -DLOG_TAG=\"$(LOCAL_MODULE)\"
LOCAL_SRC_FILES := sample_otp_productpv.c
LOCAL_C_INCLUDES := $(LOCAL_PATH)/../../uapi/otp/basic/include \
$(LOCAL_PATH)/../../uapi/common/include \
$(LOCAL_PATH)/../../linux/include/generic \
vendor/platform/secure_c/include
LOCAL_SHARED_LIBRARIES := libcutils libuapi_common libuapi_securec libuapi_otpbasic
include $(BUILD_EXECUTABLE)
include $(CLEAR_VARS)
LOCAL_PROPRIETARY_MODULE := true
LOCAL_MODULE := sample_otp_longdata
LOCAL_MULTILIB := 32
LOCAL_MODULE_TAGS := optional
LOCAL_CFLAGS := $(CFG_SOCT_CFLAGS) $(CFG_SOCT_BOARD_CONFIGS)
LOCAL_CFLAGS += -DLOG_TAG=\"$(LOCAL_MODULE)\"
LOCAL_SRC_FILES := sample_otp_longdata.c
LOCAL_C_INCLUDES := $(LOCAL_PATH)/../../uapi/otp/basic/include \
$(LOCAL_PATH)/../../uapi/common/include \
$(LOCAL_PATH)/../../linux/include/generic \
vendor/platform/secure_c/include
LOCAL_SHARED_LIBRARIES := libcutils libuapi_common libuapi_securec libuapi_otpbasic
include $(BUILD_EXECUTABLE)
include $(CLEAR_VARS)
LOCAL_PROPRIETARY_MODULE := true
LOCAL_MODULE := sample_otp_taidandmsid
LOCAL_MULTILIB := 32
LOCAL_MODULE_TAGS := optional
LOCAL_CFLAGS := $(CFG_SOCT_CFLAGS) $(CFG_SOCT_BOARD_CONFIGS)
LOCAL_CFLAGS += -DLOG_TAG=\"$(LOCAL_MODULE)\"
LOCAL_SRC_FILES := sample_otp_taidandmsid.c
LOCAL_C_INCLUDES := $(LOCAL_PATH)/../../uapi/otp/basic/include \
$(LOCAL_PATH)/../../uapi/common/include \
$(LOCAL_PATH)/../../linux/include/generic \
vendor/platform/secure_c/include
LOCAL_SHARED_LIBRARIES := libcutils libuapi_common libuapi_securec libuapi_otpbasic
include $(BUILD_EXECUTABLE)
include $(CLEAR_VARS)
LOCAL_PROPRIETARY_MODULE := true
LOCAL_MODULE := sample_otp_teectrllock
LOCAL_MULTILIB := 32
LOCAL_MODULE_TAGS := optional
LOCAL_CFLAGS := $(CFG_SOCT_CFLAGS) $(CFG_SOCT_BOARD_CONFIGS)
LOCAL_CFLAGS += -DLOG_TAG=\"$(LOCAL_MODULE)\"
LOCAL_SRC_FILES := sample_otp_teectrllock.c
LOCAL_C_INCLUDES := $(LOCAL_PATH)/../../uapi/otp/basic/include \
$(LOCAL_PATH)/../../uapi/common/include \
$(LOCAL_PATH)/../../linux/include/generic \
vendor/platform/secure_c/include
LOCAL_SHARED_LIBRARIES := libcutils libuapi_common libuapi_securec libuapi_otpbasic
include $(BUILD_EXECUTABLE)
include $(CLEAR_VARS)
LOCAL_PROPRIETARY_MODULE := true
LOCAL_MODULE := sample_otp_uart
LOCAL_MULTILIB := 32
LOCAL_MODULE_TAGS := optional
LOCAL_CFLAGS := $(CFG_SOCT_CFLAGS) $(CFG_SOCT_BOARD_CONFIGS)
LOCAL_CFLAGS += -DLOG_TAG=\"$(LOCAL_MODULE)\"
LOCAL_SRC_FILES := sample_otp_uart.c
LOCAL_C_INCLUDES := $(LOCAL_PATH)/../../uapi/otp/basic/include \
$(LOCAL_PATH)/../../uapi/common/include \
$(LOCAL_PATH)/../../linux/include/generic \
vendor/platform/secure_c/include
LOCAL_SHARED_LIBRARIES := libcutils libuapi_common libuapi_securec libuapi_otpbasic
include $(BUILD_EXECUTABLE)
include $(CLEAR_VARS)
LOCAL_PROPRIETARY_MODULE := true
LOCAL_MODULE := sample_otp_algorithm
LOCAL_MULTILIB := 32
LOCAL_MODULE_TAGS := optional
LOCAL_CFLAGS := $(CFG_SOCT_CFLAGS) $(CFG_SOCT_BOARD_CONFIGS)
LOCAL_CFLAGS += -DLOG_TAG=\"$(LOCAL_MODULE)\"
LOCAL_SRC_FILES := sample_otp_algorithm.c
LOCAL_C_INCLUDES := $(LOCAL_PATH)/../../uapi/otp/basic/include \
$(LOCAL_PATH)/../../uapi/common/include \
$(LOCAL_PATH)/../../linux/include/generic \
vendor/platform/secure_c/include
LOCAL_SHARED_LIBRARIES := libcutils libuapi_common libuapi_securec libuapi_otpbasic
include $(BUILD_EXECUTABLE)
include $(CLEAR_VARS)
LOCAL_PROPRIETARY_MODULE := true
LOCAL_MODULE := sample_otp_hardonly
LOCAL_MULTILIB := 32
LOCAL_MODULE_TAGS := optional
LOCAL_CFLAGS := $(CFG_SOCT_CFLAGS) $(CFG_SOCT_BOARD_CONFIGS)
LOCAL_CFLAGS += -DLOG_TAG=\"$(LOCAL_MODULE)\"
LOCAL_SRC_FILES := sample_otp_hardonly.c
LOCAL_C_INCLUDES := $(LOCAL_PATH)/../../uapi/otp/basic/include \
$(LOCAL_PATH)/../../uapi/common/include \
$(LOCAL_PATH)/../../linux/include/generic \
vendor/platform/secure_c/include
LOCAL_SHARED_LIBRARIES := libcutils libuapi_common libuapi_securec libuapi_otpbasic
include $(BUILD_EXECUTABLE)
include $(CLEAR_VARS)
LOCAL_PROPRIETARY_MODULE := true
LOCAL_MODULE := sample_otp_rootkeyslotflag
LOCAL_MULTILIB := 32
LOCAL_MODULE_TAGS := optional
LOCAL_CFLAGS := $(CFG_SOCT_CFLAGS) $(CFG_SOCT_BOARD_CONFIGS)
LOCAL_CFLAGS += -DLOG_TAG=\"$(LOCAL_MODULE)\"
LOCAL_SRC_FILES := sample_otp_rootkeyslotflag.c
LOCAL_C_INCLUDES := $(LOCAL_PATH)/../../uapi/otp/basic/include \
$(LOCAL_PATH)/../../uapi/common/include \
$(LOCAL_PATH)/../../linux/include/generic \
vendor/platform/secure_c/include
LOCAL_SHARED_LIBRARIES := libcutils libuapi_common libuapi_securec libuapi_otpbasic
include $(BUILD_EXECUTABLE)
include $(CLEAR_VARS)
LOCAL_PROPRIETARY_MODULE := true
LOCAL_MODULE := sample_otp_vendorid
LOCAL_MULTILIB := 32
LOCAL_MODULE_TAGS := optional
LOCAL_CFLAGS := $(CFG_SOCT_CFLAGS) $(CFG_SOCT_BOARD_CONFIGS)
LOCAL_CFLAGS += -DLOG_TAG=\"$(LOCAL_MODULE)\"
LOCAL_SRC_FILES := sample_otp_vendorid.c
LOCAL_C_INCLUDES := $(LOCAL_PATH)/../../uapi/otp/basic/include \
$(LOCAL_PATH)/../../uapi/common/include \
$(LOCAL_PATH)/../../linux/include/generic \
vendor/platform/secure_c/include
LOCAL_SHARED_LIBRARIES := libcutils libuapi_common libuapi_securec libuapi_otpbasic
include $(BUILD_EXECUTABLE)
ifeq ($(CFG_SOCT_TEE_SUPPORT),y)
include $(CLEAR_VARS)
LOCAL_PROPRIETARY_MODULE := true
LOCAL_MODULE := sample_otp_teec
LOCAL_MULTILIB := 32
LOCAL_MODULE_TAGS := optional
LOCAL_CFLAGS := $(CFG_SOCT_CFLAGS) $(CFG_SOCT_BOARD_CONFIGS)
LOCAL_CFLAGS += -DLOG_TAG=\"$(LOCAL_MODULE)\"
LOCAL_SRC_FILES := sample_otp_teec.c
LOCAL_C_INCLUDES := $(LOCAL_PATH)/../../uapi/otp/basic/include \
$(LOCAL_PATH)/../../uapi/common/include \
$(LOCAL_PATH)/../../linux/include/generic \
vendor/platform/secure_c/include
LOCAL_SHARED_LIBRARIES := libcutils libuapi_common libuapi_securec libuapi_otpbasic libteec_vendor
include $(BUILD_EXECUTABLE)
endif
include $(CLEAR_VARS)
LOCAL_PROPRIETARY_MODULE := true
LOCAL_MODULE := sample_otp_rkp_algo_sel
LOCAL_MULTILIB := 32
LOCAL_MODULE_TAGS := optional
LOCAL_CFLAGS := $(CFG_SOCT_CFLAGS) $(CFG_SOCT_BOARD_CONFIGS)
LOCAL_CFLAGS += -DLOG_TAG=\"$(LOCAL_MODULE)\"
LOCAL_SRC_FILES := sample_otp_rkp_algo_sel.c
LOCAL_C_INCLUDES := $(LOCAL_PATH)/../../uapi/otp/basic/include \
$(LOCAL_PATH)/../../uapi/common/include \
$(LOCAL_PATH)/../../linux/include/generic \
vendor/platform/secure_c/include
LOCAL_SHARED_LIBRARIES := libcutils libuapi_common libuapi_securec libuapi_otpbasic
include $(BUILD_EXECUTABLE)
include $(CLEAR_VARS)
LOCAL_PROPRIETARY_MODULE := true
LOCAL_MODULE := sample_otp_startup
LOCAL_MULTILIB := 32
LOCAL_MODULE_TAGS := optional
LOCAL_CFLAGS := $(CFG_SOCT_CFLAGS) $(CFG_SOCT_BOARD_CONFIGS)
LOCAL_CFLAGS += -DLOG_TAG=\"$(LOCAL_MODULE)\"
LOCAL_SRC_FILES := sample_otp_startup.c
LOCAL_C_INCLUDES := $(LOCAL_PATH)/../../uapi/otp/basic/include \
$(LOCAL_PATH)/../../uapi/common/include \
$(LOCAL_PATH)/../../linux/include/generic \
vendor/platform/secure_c/include
LOCAL_SHARED_LIBRARIES := libcutils libuapi_common libuapi_securec libuapi_otpbasic
include $(BUILD_EXECUTABLE)
include $(CLEAR_VARS)
LOCAL_PROPRIETARY_MODULE := true
LOCAL_MODULE := sample_otp_rsa
LOCAL_MULTILIB := 32
LOCAL_MODULE_TAGS := optional
LOCAL_CFLAGS := $(CFG_SOCT_CFLAGS) $(CFG_SOCT_BOARD_CONFIGS)
LOCAL_CFLAGS += -DLOG_TAG=\"$(LOCAL_MODULE)\"
LOCAL_SRC_FILES := sample_otp_rsa.c
LOCAL_C_INCLUDES := $(LOCAL_PATH)/../../uapi/otp/basic/include \
$(LOCAL_PATH)/../../uapi/common/include \
$(LOCAL_PATH)/../../linux/include/generic \
vendor/platform/secure_c/include
LOCAL_SHARED_LIBRARIES := libcutils libuapi_common libuapi_securec libuapi_otpbasic
include $(BUILD_EXECUTABLE)
include $(CLEAR_VARS)
LOCAL_PROPRIETARY_MODULE := true
LOCAL_MODULE := sample_otp_scs_alg_sel
LOCAL_MULTILIB := 32
LOCAL_MODULE_TAGS := optional
LOCAL_CFLAGS := $(CFG_SOCT_CFLAGS) $(CFG_SOCT_BOARD_CONFIGS)
LOCAL_CFLAGS += -DLOG_TAG=\"$(LOCAL_MODULE)\"
LOCAL_SRC_FILES := sample_otp_scs_alg_sel.c
LOCAL_C_INCLUDES := $(LOCAL_PATH)/../../uapi/otp/basic/include \
$(LOCAL_PATH)/../../uapi/common/include \
$(LOCAL_PATH)/../../linux/include/generic \
vendor/platform/secure_c/include
LOCAL_SHARED_LIBRARIES := libcutils libuapi_common libuapi_securec libuapi_otpbasic
include $(BUILD_EXECUTABLE)