Makefile.mk 393 B

1234567891011
  1. VPATH += $(SDK_DRIVER_DIR)/Arch/$(CONFIG_CHIP)/
  2. INCLUDES += -I$(SDK_DRIVER_DIR)/Arch/$(CONFIG_CHIP)/
  3. INCLUDES += -I$(SDK_DRIVER_DIR)/Arch/$(CONFIG_CHIP)/regs/
  4. OBJ_DRIVER_ARCH_C = $(wildcard $(SDK_DRIVER_DIR)/Arch/$(CONFIG_CHIP)/*.c)
  5. OBJ_DRIVER_ARCH_C_NODIR = $(notdir $(OBJ_DRIVER_ARCH_C))
  6. OBJ_DRIVER_ARCH_C_O = $(OBJ_DRIVER_ARCH_C_NODIR:%.c=%.o)
  7. DRIVER_TARGET_O += $(OBJ_DRIVER_ARCH_C_O)