mirror of
https://xff.cz/git/u-boot/
synced 2025-09-01 16:52:14 +02:00
[BUILD] conditionally compile common/cmd_*.c in common/Makefile
Modify common/Makefile to conditionally compile the cmd_*.c files based on the board config. Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
This commit is contained in:
@@ -11,9 +11,6 @@
|
||||
#include <command.h>
|
||||
#include <malloc.h>
|
||||
#include <asm/io.h>
|
||||
|
||||
#if defined(CONFIG_CMD_DOC)
|
||||
|
||||
#include <linux/mtd/nftl.h>
|
||||
#include <linux/mtd/doc2000.h>
|
||||
|
||||
@@ -1607,5 +1604,3 @@ void doc_probe(unsigned long physadr)
|
||||
puts ("No DiskOnChip found\n");
|
||||
}
|
||||
}
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user