mirror of
https://xff.cz/git/u-boot/
synced 2025-11-01 10:56:02 +01: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:
@@ -34,8 +34,6 @@
|
||||
*/
|
||||
#include <common.h>
|
||||
#include <part.h>
|
||||
|
||||
#if defined(CONFIG_CMD_EXT2)
|
||||
#include <config.h>
|
||||
#include <command.h>
|
||||
#include <image.h>
|
||||
@@ -259,5 +257,3 @@ U_BOOT_CMD(
|
||||
" - load binary file 'filename' from 'dev' on 'interface'\n"
|
||||
" to address 'addr' from ext2 filesystem\n"
|
||||
);
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user