diff options
author | Miquel Raynal <miquel.raynal@bootlin.com> | 2019-10-25 20:39:31 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2019-12-05 01:10:51 +0300 |
commit | fb4384490df4e753dcac0478bdb5e912994ef9d6 (patch) | |
tree | 46548095b9e4baaa3a7de1d0ce8d07168ad3c01a /configs/at91sam9g20ek_nandflash_defconfig | |
parent | ff102c54b08cbb988097660c44c21acb4afa5102 (diff) | |
download | u-boot-fb4384490df4e753dcac0478bdb5e912994ef9d6.tar.xz |
mtd: Makefile: deep cleanup
Move MTD-related lines out of the root Makefile. Put them in their
respective directories. Enclose some of these new lines to skip them
when building the SPL. MTD core files and some MTD device drivers are
compiled in a mtd.o object and included in the final object only if
MTD support is required (there are two different symbols for that, one
for U-Boot and one for the SPL).
Now that all defconfigs have been fixed, we can stop the logic where
enabling a command selects the core files to compile. This logic is
broken since selecting a symbol with a 'depends on' will not enforce
this secondary dependency.
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Diffstat (limited to 'configs/at91sam9g20ek_nandflash_defconfig')
0 files changed, 0 insertions, 0 deletions