summaryrefslogtreecommitdiff
path: root/drivers/nand
diff options
context:
space:
mode:
authorGrant Likely <grant.likely@secretlab.ca>2007-09-24 09:05:30 -0600
committerGrant Likely <grant.likely@secretlab.ca>2007-11-15 11:05:18 -0700
commitf0037c56b0d12cd46215124667b9f83d60ef9391 (patch)
tree6b573be03318ecf4f0d0ed4f904941fe4f02f4a1 /drivers/nand
parent1b4aaffe4fb2a5e95d9111a5d94fd1f89215dce4 (diff)
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 'drivers/nand')
-rw-r--r--drivers/nand/Makefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/drivers/nand/Makefile b/drivers/nand/Makefile
index fb0185b991..42864f98f4 100644
--- a/drivers/nand/Makefile
+++ b/drivers/nand/Makefile
@@ -25,8 +25,14 @@ include $(TOPDIR)/config.mk
LIB := $(obj)libnand.a
-COBJS := nand.o nand_base.o nand_ids.o nand_ecc.o nand_bbt.o nand_util.o
-
+COBJS-y += nand.o
+COBJS-y += nand_base.o
+COBJS-y += nand_ids.o
+COBJS-y += nand_ecc.o
+COBJS-y += nand_bbt.o
+COBJS-y += nand_util.o
+
+COBJS := $(COBJS-y)
SRCS := $(COBJS:.o=.c)
OBJS := $(addprefix $(obj),$(COBJS))