]> git.kernelconcepts.de Git - karo-tx-uboot.git/blob - board/samsung/smdkc100/Makefile
blackfin: Move machine specific gpio_port_t structure back to blackfin arch folder.
[karo-tx-uboot.git] / board / samsung / smdkc100 / Makefile
1 #
2 # (C) Copyright 2000, 2001, 2002
3 # Wolfgang Denk, DENX Software Engineering, wd@denx.de.
4 #
5 # (C) Copyright 2008
6 # Guennadi Liakhovetki, DENX Software Engineering, <lg@denx.de>
7 #
8 # SPDX-License-Identifier:      GPL-2.0+
9 #
10
11 include $(TOPDIR)/config.mk
12
13 LIB     = $(obj)lib$(BOARD).o
14
15 COBJS-y := smdkc100.o
16 COBJS-$(CONFIG_SAMSUNG_ONENAND) += onenand.o
17 SOBJS   := lowlevel_init.o
18
19 SRCS    := $(SOBJS:.o=.S) $(COBJS-y:.o=.c)
20 OBJS    := $(addprefix $(obj),$(COBJS-y))
21 SOBJS   := $(addprefix $(obj),$(SOBJS))
22
23 $(LIB): $(obj).depend $(SOBJS) $(OBJS)
24         $(call cmd_link_o_target, $(SOBJS) $(OBJS))
25
26 #########################################################################
27
28 # defines $(obj).depend target
29 include $(SRCTREE)/rules.mk
30
31 sinclude $(obj).depend
32
33 #########################################################################