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.
26 lines
795 B
26 lines
795 B
#=======================================
|
|
# local variable
|
|
#=======================================
|
|
NPU_DRV_SRC := src/
|
|
ifeq ($(CONFIG_RESERVED9),y)
|
|
$(warning CONFIG_SOCT_CHIP_TYPE $(CONFIG_SOCT_CHIP_TYPE))
|
|
$(warning COMM_VERSION $(COMM_VERSION))
|
|
$(warning BOARD_VERSION $(BOARD_VERSION))
|
|
$(warning will compile npu driver)
|
|
obj-$(CONFIG_SOCT_NPU_SUPPORT) += $(NPU_DRV_SRC)
|
|
else ifeq ($(CONFIG_RESERVED13), y)
|
|
obj-$(CONFIG_SOCT_NPU_SUPPORT) += $(NPU_DRV_SRC)
|
|
else
|
|
$(warning npu driver not support $(CONFIG_SOCT_CHIP_TYPE))
|
|
endif
|
|
#=================================================================
|
|
# rules
|
|
#=================================================================
|
|
.PHONY: all clean
|
|
|
|
all:
|
|
$(AT)make -C $(NPU_DRV_SRC)
|
|
|
|
clean:
|
|
$(AT)make -C $(NPU_DRV_SRC) clean
|