projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add imls utility command
[oweals/u-boot.git]
/
lib_arm
/
Makefile
diff --git
a/lib_arm/Makefile
b/lib_arm/Makefile
index de5e5dd9ab2266424b7a392e134e7292de266a56..4469361a8aca1a21ab541579fc251d330fd93f78 100644
(file)
--- a/
lib_arm/Makefile
+++ b/
lib_arm/Makefile
@@
-1,5
+1,5
@@
#
#
-# (C) Copyright 2002
+# (C) Copyright 2002
-2006
# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
#
# See file CREDITS for list of people who contributed to this
# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
#
# See file CREDITS for list of people who contributed to this
@@
-23,23
+23,36
@@
include $(TOPDIR)/config.mk
include $(TOPDIR)/config.mk
-LIB = lib$(ARCH).a
+LIB =
$(obj)
lib$(ARCH).a
-AOBJS = _udivsi3.o _umodsi3.o
+SOBJS-y += _ashldi3.o
+SOBJS-y += _ashrdi3.o
+SOBJS-y += _divsi3.o
+SOBJS-y += _modsi3.o
+SOBJS-y += _udivsi3.o
+SOBJS-y += _umodsi3.o
-COBJS = armlinux.o board.o \
- cache.o div0.o
+COBJS-y += board.o
+COBJS-y += bootm.o
+COBJS-y += cache.o
+ifndef CONFIG_SYS_NO_CP15_CACHE
+COBJS-y += cache-cp15.o
+endif
+COBJS-y += div0.o
+COBJS-y += interrupts.o
+COBJS-y += reset.o
-OBJS = $(AOBJS) $(COBJS)
+SRCS := $(SOBJS-y:.o=.S) $(COBJS-y:.o=.c)
+OBJS := $(addprefix $(obj),$(SOBJS-y) $(COBJS-y))
-$(LIB): .depend $(OBJS)
- $(AR)
crv
$@ $(OBJS)
+$(LIB):
$(obj)
.depend $(OBJS)
+ $(AR)
$(ARFLAGS)
$@ $(OBJS)
#########################################################################
#########################################################################
-.depend: Makefile $(AOBJS:.o=.S) $(COBJS:.o=.c)
- $(CC) -M $(CFLAGS) $(AOBJS:.o=.S) $(COBJS:.o=.c) > $@
+# defines $(obj).depend target
+include $(SRCTREE)/rules.mk
-sinclude .depend
+sinclude
$(obj)
.depend
#########################################################################
#########################################################################