]>
Commit | Line | Data |
---|---|---|
012771d8 | 1 | # |
f9328639 MB |
2 | # (C) Copyright 2006 |
3 | # Wolfgang Denk, DENX Software Engineering, wd@denx.de. | |
4 | # | |
012771d8 WD |
5 | # (C) Copyright 2002 Wolfgang Grandegger <wg@denx.de> |
6 | # | |
1a459660 | 7 | # SPDX-License-Identifier: GPL-2.0+ |
012771d8 WD |
8 | # |
9 | ||
10 | include $(TOPDIR)/config.mk | |
11 | ||
6d8962e8 | 12 | LIB = $(obj)lib$(BOARD).o |
f9328639 MB |
13 | |
14 | COBJS := $(BOARD).o flash.o | |
012771d8 | 15 | |
f9328639 MB |
16 | SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c) |
17 | OBJS := $(addprefix $(obj),$(COBJS)) | |
18 | SOBJS := $(addprefix $(obj),$(SOBJS)) | |
012771d8 | 19 | |
f9328639 | 20 | $(LIB): $(obj).depend $(OBJS) |
6d8962e8 | 21 | $(call cmd_link_o_target, $(OBJS)) |
012771d8 | 22 | |
012771d8 WD |
23 | ######################################################################### |
24 | ||
f9328639 MB |
25 | # defines $(obj).depend target |
26 | include $(SRCTREE)/rules.mk | |
012771d8 | 27 | |
f9328639 | 28 | sinclude $(obj).depend |
012771d8 WD |
29 | |
30 | ######################################################################### |