projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6dd3b56
)
mtd: Build nand_util.o for CONFIG_ENV_IS_IN_NAND in SPL
author
Tom Rini
<trini@ti.com>
Fri, 28 Mar 2014 16:03:37 +0000
(12:03 -0400)
committer
Tom Rini
<trini@ti.com>
Thu, 17 Apr 2014 18:39:54 +0000
(14:39 -0400)
Acked-by: Scott Wood <scottwood@freescale.com>
Signed-off-by: Tom Rini <trini@ti.com>
drivers/mtd/nand/Makefile
patch
|
blob
|
history
diff --git
a/drivers/mtd/nand/Makefile
b/drivers/mtd/nand/Makefile
index 02b149caccaa9793ff00a85d8d1299037fa25101..4eb354da93a17b9f551bf5a8caf0a245d5b32d31 100644
(file)
--- a/
drivers/mtd/nand/Makefile
+++ b/
drivers/mtd/nand/Makefile
@@
-18,6
+18,9
@@
obj-$(CONFIG_SPL_NAND_LOAD) += nand_spl_load.o
obj-$(CONFIG_SPL_NAND_ECC) += nand_ecc.o
obj-$(CONFIG_SPL_NAND_BASE) += nand_base.o
obj-$(CONFIG_SPL_NAND_INIT) += nand.o
+ifeq ($(CONFIG_SPL_ENV_SUPPORT),y)
+obj-$(CONFIG_ENV_IS_IN_NAND) += nand_util.o
+endif
else # not spl