]> git.kernelconcepts.de Git - karo-tx-uboot.git/blob - board/Marvell/db64460/Makefile
Merge branch 'u-boot/master' into u-boot-arm/master
[karo-tx-uboot.git] / board / Marvell / db64460 / Makefile
1 #
2 # (C) Copyright 2006
3 # Wolfgang Denk, DENX Software Engineering, wd@denx.de.
4 #
5 # (C) Copyright 2001
6 # Josh Huber <huber@mclx.com>, Mission Critical Linux, Inc.
7 #
8 # SPDX-License-Identifier:      GPL-2.0+
9 #
10
11 include $(TOPDIR)/config.mk
12 ifneq ($(OBJTREE),$(SRCTREE))
13 $(shell mkdir -p $(obj)../common)
14 endif
15
16 LIB     = $(obj)lib$(BOARD).o
17
18 SOBJS   = ../common/misc.o
19
20 COBJS   = $(BOARD).o ../common/flash.o ../common/serial.o ../common/memory.o pci.o \
21           mv_eth.o ../common/ns16550.o mpsc.o ../common/i2c.o \
22           sdram_init.o ../common/intel_flash.o
23
24 SRCS    := $(SOBJS:.o=.S) $(COBJS:.o=.c)
25 OBJS    := $(addprefix $(obj),$(COBJS))
26 SOBJS   := $(addprefix $(obj),$(SOBJS))
27
28 $(LIB): $(obj).depend $(OBJS) $(SOBJS)
29         $(call cmd_link_o_target, $(OBJS) $(SOBJS))
30
31 #########################################################################
32
33 # defines $(obj).depend target
34 include $(SRCTREE)/rules.mk
35
36 sinclude $(obj).depend
37
38 #########################################################################