diff options
author | Grant Likely <grant.likely@secretlab.ca> | 2007-09-24 09:05:30 -0600 |
---|---|---|
committer | Grant Likely <grant.likely@secretlab.ca> | 2007-11-15 11:05:18 -0700 |
commit | f0037c56b0d12cd46215124667b9f83d60ef9391 (patch) | |
tree | 6b573be03318ecf4f0d0ed4f904941fe4f02f4a1 /fs/jffs2 | |
parent | 1b4aaffe4fb2a5e95d9111a5d94fd1f89215dce4 (diff) | |
download | u-boot-imx-f0037c56b0d12cd46215124667b9f83d60ef9391.zip u-boot-imx-f0037c56b0d12cd46215124667b9f83d60ef9391.tar.gz u-boot-imx-f0037c56b0d12cd46215124667b9f83d60ef9391.tar.bz2 |
Build: split COBJS value into multiple lines
This change is in preparation for condtitionial compile support in the
build system. By spliting them all into seperate lines now, subsequent
patches that change 'COBJS-y += ' into 'COBJS-$(CONFIG_<blah>) += ' will
be less invasive and easier to review
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Diffstat (limited to 'fs/jffs2')
-rw-r--r-- | fs/jffs2/Makefile | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/fs/jffs2/Makefile b/fs/jffs2/Makefile index c1357d0..a071af1 100644 --- a/fs/jffs2/Makefile +++ b/fs/jffs2/Makefile @@ -26,9 +26,15 @@ include $(TOPDIR)/config.mk LIB = $(obj)libjffs2.a AOBJS = -COBJS = jffs2_1pass.o compr_rtime.o compr_rubin.o compr_zlib.o mini_inflate.o -COBJS += compr_lzo.o compr_lzari.o - +COBJS-y += jffs2_1pass.o +COBJS-y += compr_rtime.o +COBJS-y += compr_rubin.o +COBJS-y += compr_zlib.o +COBJS-y += mini_inflate.o +COBJS-y += compr_lzo.o +COBJS-y += compr_lzari.o + +COBJS := $(COBJS-y) SRCS := $(AOBJS:.o=.S) $(COBJS:.o=.c) OBJS := $(addprefix $(obj),$(AOBJS) $(COBJS)) |