Blame view

board/freescale/mpc8349itx/Makefile 606 Bytes
2ad6b513b   Timur Tabi   mpc83xx: Add supp...
1
  #
4c2e3da82   Kumar Gala   Update Freescale ...
2
  # Copyright (C) Freescale Semiconductor, Inc. 2006.
2ad6b513b   Timur Tabi   mpc83xx: Add supp...
3
  #
1a4596601   Wolfgang Denk   Add GPL-2.0+ SPDX...
4
  # SPDX-License-Identifier:	GPL-2.0+
2ad6b513b   Timur Tabi   mpc83xx: Add supp...
5
6
7
  #
  
  include $(TOPDIR)/config.mk
6d8962e81   Sebastien Carlier   Switch from archi...
8
  LIB	= $(obj)lib$(BOARD).o
2ad6b513b   Timur Tabi   mpc83xx: Add supp...
9

9993e196d   Kim Phillips   mpc83xx: convert ...
10
11
  COBJS-y += $(BOARD).o
  COBJS-$(CONFIG_PCI) += pci.o
2ad6b513b   Timur Tabi   mpc83xx: Add supp...
12

9993e196d   Kim Phillips   mpc83xx: convert ...
13
  COBJS	:= $(COBJS-y)
2ad6b513b   Timur Tabi   mpc83xx: Add supp...
14
15
16
17
18
  SRCS	:= $(SOBJS:.o=.S) $(COBJS:.o=.c)
  OBJS	:= $(addprefix $(obj),$(COBJS))
  SOBJS	:= $(addprefix $(obj),$(SOBJS))
  
  $(LIB):	$(obj).depend $(OBJS)
6d8962e81   Sebastien Carlier   Switch from archi...
19
  	$(call cmd_link_o_target, $(OBJS))
2ad6b513b   Timur Tabi   mpc83xx: Add supp...
20

2ad6b513b   Timur Tabi   mpc83xx: Add supp...
21
22
23
24
25
26
27
  #########################################################################
  
  include $(SRCTREE)/rules.mk
  
  sinclude $(obj).depend
  
  #########################################################################