Makefile 620 B

123456789101112131415161718192021222324252627
  1. #
  2. # Copyright (C) 2011 Andes Technology Corporation
  3. # Macpaul Lin, Andes Technology Corporation <macpaul@andestech.com>
  4. #
  5. # SPDX-License-Identifier: GPL-2.0+
  6. #
  7. include $(TOPDIR)/config.mk
  8. LIB = $(obj)lib$(BOARD).o
  9. COBJS-y := adp-ag102.o
  10. SRCS := $(SOBJS-y:.o=.S) $(COBJS-y:.o=.c)
  11. OBJS := $(addprefix $(obj),$(COBJS-y) $(SOBJS-y))
  12. $(LIB): $(OBJS)
  13. $(call cmd_link_o_target, $(OBJS))
  14. #########################################################################
  15. # defines $(obj).depend target
  16. include $(SRCTREE)/rules.mk
  17. sinclude $(obj).depend
  18. #########################################################################