mirror of
https://xff.cz/git/u-boot/
synced 2025-08-31 16:22:36 +02:00
flash: compile common/flash.c iif CONFIG_MTD_NO_FLASH is enabled
The whole of common/flash.c is guarded by #if defined() ... #endif. Move the conditional to common/Makefile. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
This commit is contained in:
committed by
Tom Rini
parent
e856bdcfb4
commit
554c73c025
@@ -67,7 +67,7 @@ endif
|
||||
# others
|
||||
obj-$(CONFIG_BOOTSTAGE) += bootstage.o
|
||||
obj-$(CONFIG_CONSOLE_MUX) += iomux.o
|
||||
obj-y += flash.o
|
||||
obj-$(CONFIG_MTD_NOR_FLASH) += flash.o
|
||||
obj-$(CONFIG_CMD_KGDB) += kgdb.o kgdb_stubs.o
|
||||
obj-$(CONFIG_I2C_EDID) += edid.o
|
||||
obj-$(CONFIG_KALLSYMS) += kallsyms.o
|
||||
|
Reference in New Issue
Block a user