android13/vendor/rockchip/RKnpudemo/npu_demo.mk

14 lines
688 B
Makefile
Executable File

###############################################################################
CUR_PATH := $(TOP)/vendor/rockchip/RKnpudemo/
ifneq ($(filter rk3588, $(strip $(TARGET_BOARD_PLATFORM))), )
RK_DEMO_PATH := $(TOP)/vendor/rockchip/RKnpudemo/rknn_ssd_demo_Android
PRODUCT_COPY_FILES += \
$(call find-copy-subdir-files,*,$(RK_DEMO_PATH)/,$(TARGET_COPY_OUT_VENDOR)/bin/rknn_ssd_demo_Android/)
endif
ifneq ($(filter rk356x, $(strip $(TARGET_BOARD_PLATFORM))), )
RK_DEMO_PATH := $(TOP)/vendor/rockchip/RKnpudemo/rknn_mobilenet_demo_Android
PRODUCT_COPY_FILES += \
$(call find-copy-subdir-files,*,$(RK_DEMO_PATH)/,$(TARGET_COPY_OUT_VENDOR)/bin/rknn_mobilenet_demo_Android/)
endif