projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' of git://git.denx.de/u-boot-mips
[oweals/u-boot.git]
/
board
/
ti
/
beagle
/
Makefile
diff --git
a/board/ti/beagle/Makefile
b/board/ti/beagle/Makefile
index f7971127c826d943e10437e1cc454de844ed04c6..a07cb25febb29cfd6986418a23513faa20e1ac24 100644
(file)
--- a/
board/ti/beagle/Makefile
+++ b/
board/ti/beagle/Makefile
@@
-23,21
+23,17
@@
include $(TOPDIR)/config.mk
include $(TOPDIR)/config.mk
-LIB = $(obj)lib$(BOARD).
a
+LIB = $(obj)lib$(BOARD).
o
-COBJS := beagle.o
+COBJS-y := $(BOARD).o
+COBJS-$(CONFIG_STATUS_LED) += led.o
+COBJS := $(sort $(COBJS-y))
SRCS := $(COBJS:.o=.c)
OBJS := $(addprefix $(obj),$(COBJS))
$(LIB): $(obj).depend $(OBJS)
SRCS := $(COBJS:.o=.c)
OBJS := $(addprefix $(obj),$(COBJS))
$(LIB): $(obj).depend $(OBJS)
- $(AR) $(ARFLAGS) $@ $(OBJS)
-
-clean:
- rm -f $(OBJS)
-
-distclean: clean
- rm -f $(LIB) core *.bak $(obj).depend
+ $(call cmd_link_o_target, $(OBJS))
#########################################################################
#########################################################################