projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Align end of bss by 4 bytes
[oweals/u-boot.git]
/
board
/
stxssa
/
Makefile
diff --git
a/board/stxssa/Makefile
b/board/stxssa/Makefile
index f1f5d0b1bfe01f3f3187786f800898231fdc47c7..9ab41ecd3591198eba27d6dcba40255bffdccd9d 100644
(file)
--- a/
board/stxssa/Makefile
+++ b/
board/stxssa/Makefile
@@
-25,10
+25,13
@@
include $(TOPDIR)/config.mk
LIB = $(obj)lib$(BOARD).a
LIB = $(obj)lib$(BOARD).a
-COBJS := $(BOARD).o law.o tlb.o
+COBJS-y += $(BOARD).o
+COBJS-y += law.o
+COBJS-y += tlb.o
+COBJS-$(CONFIG_FSL_DDR1) += ddr.o
-SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c)
-OBJS := $(addprefix $(obj),$(COBJS))
+SRCS := $(SOBJS:.o=.S) $(COBJS
-y
:.o=.c)
+OBJS := $(addprefix $(obj),$(COBJS
-y
))
SOBJS := $(addprefix $(obj),$(SOBJS))
$(LIB): $(obj).depend $(OBJS) $(SOBJS)
SOBJS := $(addprefix $(obj),$(SOBJS))
$(LIB): $(obj).depend $(OBJS) $(SOBJS)
@@
-38,7
+41,7
@@
clean:
rm -f $(OBJS) $(SOBJS)
distclean: clean
rm -f $(OBJS) $(SOBJS)
distclean: clean
- rm -f $(LIB) core *.bak .depend
+ rm -f $(LIB) core *.bak
$(obj)
.depend
#########################################################################
#########################################################################