Makefile 896 B

1234567891011121314151617181920212223242526272829303132333435
  1. #
  2. # Copyright 2010 Freescale Semiconductor, Inc.
  3. #
  4. # This program is free software; you can redistribute it and/or modify it
  5. # under the terms of the GNU General Public License as published by the Free
  6. # Software Foundation; either version 2 of the License, or (at your option)
  7. # any later version.
  8. #
  9. include $(TOPDIR)/config.mk
  10. LIB = $(obj)lib$(BOARD).o
  11. COBJS-y += $(BOARD).o
  12. COBJS-y += ddr.o
  13. COBJS-y += law.o
  14. COBJS-y += tlb.o
  15. COBJS-$(CONFIG_FSL_DIU_FB) += diu.o
  16. SRCS := $(SOBJS:.o=.S) $(COBJS-y:.o=.c)
  17. OBJS := $(addprefix $(obj),$(COBJS-y))
  18. SOBJS := $(addprefix $(obj),$(SOBJS))
  19. $(LIB): $(obj).depend $(OBJS) $(SOBJS)
  20. $(call cmd_link_o_target, $(OBJS))
  21. #########################################################################
  22. # defines $(obj).depend target
  23. include $(SRCTREE)/rules.mk
  24. sinclude $(obj).depend
  25. #########################################################################