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.
41 lines
1.3 KiB
41 lines
1.3 KiB
#===============================================================================
|
|
# export variable
|
|
#===============================================================================
|
|
#SDK_DIR := $(shell cd $(CURDIR)/../../../../../../ && /bin/pwd)
|
|
LOCAL_PATH := $(call my-dir)
|
|
|
|
include $(CLEAR_VARS)
|
|
LOCAL_MODULE := libdrv_dfx
|
|
|
|
LOCAL_MULTILIB := 64
|
|
LOCAL_BUILD_STATIC := ture
|
|
|
|
LOCAL_SRC_FILES := profile_drv_user.c
|
|
|
|
USR_DIR:= vendor/huanglong/uapi
|
|
NPU_USR_INC_DIR = $(USR_DIR)/npu/source/include
|
|
PLATFORM_DIR ?= vendor/platform/
|
|
DRV_DIR = vendor/huanglong/linux/drv
|
|
DFX_DIR = $(USR_DIR)/npu/source/dfx
|
|
|
|
#===============================================================================
|
|
# local variable
|
|
#===============================================================================
|
|
LOCAL_CFLAGS := -I$(USR_DIR)\
|
|
-Ivendor/huanglong/linux/include/generic \
|
|
-Ivendor/platform/secure_c/include \
|
|
-I$(DRV_DIR)/include \
|
|
-I$(DRV_DIR)/npu/src/include \
|
|
-I$(PLATFORM_DIR)/secure_c/include \
|
|
-I$(USR_DIR)/include \
|
|
-I$(DFX_DIR)/ \
|
|
-I$(NPU_USR_INC_DIR)/drv \
|
|
-I$(NPU_DEVICE_DIR)/../../include \
|
|
-I$(DFX_DIR)/../include
|
|
|
|
LOCAL_SHARED_LIBRARIES := libslog \
|
|
libuapi_securec
|
|
|
|
include $(BUILD_LINUX_LIBRARY)
|
|
|