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