projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
km/common: cosmetic change reported from checkpatch
[oweals/u-boot.git]
/
board
/
pxa255_idp
/
Makefile
diff --git
a/board/pxa255_idp/Makefile
b/board/pxa255_idp/Makefile
index a957dd39615ff8880b74eeb508444ca2901018c7..7660b2f2314ff84088a38f4213c31c7d39c9728b 100644
(file)
--- a/
board/pxa255_idp/Makefile
+++ b/
board/pxa255_idp/Makefile
@@
-24,23
+24,15
@@
include $(TOPDIR)/config.mk
include $(TOPDIR)/config.mk
-LIB = $(obj)lib$(BOARD).
a
+LIB = $(obj)lib$(BOARD).
o
COBJS := pxa_idp.o
COBJS := pxa_idp.o
-SOBJS := memsetup.o
-SRCS := $(
SOBJS:.o=.S) $(
COBJS:.o=.c)
+SRCS := $(COBJS:.o=.c)
OBJS := $(addprefix $(obj),$(COBJS))
OBJS := $(addprefix $(obj),$(COBJS))
-SOBJS := $(addprefix $(obj),$(SOBJS))
-$(LIB): $(obj).depend $(OBJS) $(SOBJS)
- $(AR) $(ARFLAGS) $@ $(OBJS) $(SOBJS)
-
-clean:
- rm -f $(SOBJS) $(OBJS)
-
-distclean: clean
- rm -f $(LIB) core *.bak .depend
+$(LIB): $(obj).depend $(OBJS)
+ $(call cmd_link_o_target, $(OBJS))
#########################################################################
#########################################################################