projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
common: Add .u_boot_list into all linker files
[oweals/u-boot.git]
/
board
/
amcc
/
canyonlands
/
Makefile
diff --git
a/board/amcc/canyonlands/Makefile
b/board/amcc/canyonlands/Makefile
index 12f8a642e70490726d2d175f476e15134ab8a812..d2c9dd49b679fe63d496cae6d69214b9f5424732 100644
(file)
--- a/
board/amcc/canyonlands/Makefile
+++ b/
board/amcc/canyonlands/Makefile
@@
-23,7
+23,7
@@
include $(TOPDIR)/config.mk
include $(TOPDIR)/config.mk
-LIB = $(obj)lib$(BOARD).
a
+LIB = $(obj)lib$(BOARD).
o
COBJS-y := $(BOARD).o
COBJS-$(CONFIG_CMD_CHIP_CONFIG) += chip_config.o
COBJS-y := $(BOARD).o
COBJS-$(CONFIG_CMD_CHIP_CONFIG) += chip_config.o
@@
-34,14
+34,10
@@
SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c)
OBJS := $(addprefix $(obj),$(COBJS))
SOBJS := $(addprefix $(obj),$(SOBJS))
OBJS := $(addprefix $(obj),$(COBJS))
SOBJS := $(addprefix $(obj),$(SOBJS))
-$(LIB): $(OBJS) $(SOBJS)
- $(AR) $(ARFLAGS) $@ $(OBJS) $(SOBJS)
+all: $(LIB) $(SOBJS)
-clean:
- rm -f $(SOBJS) $(OBJS)
-
-distclean: clean
- rm -f $(LIB) core *.bak $(obj).depend
+$(LIB): $(OBJS)
+ $(call cmd_link_o_target, $^)
#########################################################################
#########################################################################