projects
/
platform
/
kernel
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'next' of git://git.denx.de/u-boot-avr32
[platform/kernel/u-boot.git]
/
drivers
/
mtd
/
onenand
/
Makefile
diff --git
a/drivers/mtd/onenand/Makefile
b/drivers/mtd/onenand/Makefile
index
92074b2
..
1d35a57
100644
(file)
--- a/
drivers/mtd/onenand/Makefile
+++ b/
drivers/mtd/onenand/Makefile
@@
-25,8
+25,9
@@
include $(TOPDIR)/config.mk
LIB := $(obj)libonenand.a
-COBJS := onenand_uboot.o onenand_base.o onenand_bbt.o
+COBJS
-$(CONFIG_CMD_ONENAND)
:= onenand_uboot.o onenand_base.o onenand_bbt.o
+COBJS := $(COBJS-y)
SRCS := $(COBJS:.o=.c)
OBJS := $(addprefix $(obj),$(COBJS))