Makefile 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. #
  2. # Copyright (c) 2010-2012, NVIDIA CORPORATION. All rights reserved.
  3. #
  4. # See file CREDITS for list of people who contributed to this
  5. # project.
  6. #
  7. # This program is free software; you can redistribute it and/or modify it
  8. # under the terms and conditions of the GNU General Public License,
  9. # version 2, as published by the Free Software Foundation.
  10. #
  11. # This program is distributed in the hope it will be useful, but WITHOUT
  12. # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  13. # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
  14. # more details.
  15. #
  16. include $(TOPDIR)/config.mk
  17. $(shell mkdir -p $(obj)../../nvidia/common)
  18. LIB = $(obj)lib$(BOARD).o
  19. COBJS := $(BOARD).o
  20. COBJS += ../../nvidia/common/board.o
  21. SRCS := $(COBJS:.o=.c)
  22. OBJS := $(addprefix $(obj),$(COBJS))
  23. $(LIB): $(obj).depend $(OBJS)
  24. $(call cmd_link_o_target, $(OBJS))
  25. #########################################################################
  26. # defines $(obj).depend target
  27. include $(SRCTREE)/rules.mk
  28. sinclude $(obj).depend
  29. #########################################################################