mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-08 19:11:53 +00: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:
parent
2f155f6c0a
commit
4a43719a77
39 changed files with 46 additions and 198 deletions
|
@ -29,8 +29,6 @@
|
|||
#include <command.h>
|
||||
#include <spi.h>
|
||||
|
||||
#if defined(CONFIG_CMD_SPI)
|
||||
|
||||
/*-----------------------------------------------------------------------
|
||||
* Definitions
|
||||
*/
|
||||
|
@ -139,5 +137,3 @@ U_BOOT_CMD(
|
|||
"<bit_len> - Number of bits to send (base 10)\n"
|
||||
"<dout> - Hexadecimal string that gets sent\n"
|
||||
);
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue