# Copyright (c) Hisilicon Technologies Co., Ltd. 2022-2022.
# All rights reserved.
#
# This program is free software and is provided to you under the terms of the
# GNU General Public License version 2 as published by the Free Software
# Foundation, and any use by you of this program is subject to the terms
# of such GNU licence.

INCLUDE_DIR += \
	-I$(HVGR_PATH)/external

ifeq ($(CONFIG_HVGR_VIRTUAL), y)
	INCLUDE_DIR += \
		-I$(HVGR_PATH)/virtual/frontend/include
	SRC += \
		$(HVGR_ROOT)/external/hvgr_external_base_virtual.c
else
	SRC += \
		$(HVGR_ROOT)/external/hvgr_external_base.c
endif
