#======================================= # 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