Makefile.mk 965 B

12345678910111213141516171819202122
  1. VPATH += $(SDK_DRIVER_DIR)/UsbHost/core/src
  2. VPATH += $(SDK_DRIVER_DIR)/UsbHost/musb/src
  3. VPATH += $(SDK_DRIVER_DIR)/UsbHost/storage/src
  4. VPATH += $(SDK_DRIVER_DIR)/UsbHost/fatfs/
  5. INCLUDES += -I$(SDK_DRIVER_DIR)/UsbHost/core/inc
  6. INCLUDES += -I$(SDK_DRIVER_DIR)/UsbHost/musb/inc
  7. INCLUDES += -I$(SDK_DRIVER_DIR)/UsbHost/porting/inc
  8. INCLUDES += -I$(SDK_DRIVER_DIR)/UsbHost/storage/inc
  9. INCLUDES += -I$(SDK_DRIVER_DIR)/UsbHost/fatfs
  10. INCLUDES += -I$(SDK_MIDDLEWARE_DIR)/RunTime/UsbTask/inc
  11. OBJ_DRIVER_USB_HOST_C = $(wildcard $(SDK_DRIVER_DIR)/UsbHost/core/src/*.c)
  12. OBJ_DRIVER_USB_HOST_C += $(wildcard $(SDK_DRIVER_DIR)/UsbHost/musb/src/*.c)
  13. OBJ_DRIVER_USB_HOST_C += $(wildcard $(SDK_DRIVER_DIR)/UsbHost/storage/src/*.c)
  14. OBJ_DRIVER_USB_HOST_C += $(wildcard $(SDK_DRIVER_DIR)/UsbHost/fatfs/*.c)
  15. OBJ_DRIVER_USB_HOST_C_NODIR = $(notdir $(OBJ_DRIVER_USB_HOST_C))
  16. OBJ_DRIVER_USB_HOST_C_O = $(OBJ_DRIVER_USB_HOST_C_NODIR:%.c=%.o)
  17. DRIVER_TARGET_O += $(OBJ_DRIVER_USB_HOST_C_O)