mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-07-04 13:22:31 +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
|
@ -43,8 +43,6 @@
|
|||
#define PRINTF(fmt,args...)
|
||||
#endif
|
||||
|
||||
#if defined (CONFIG_FPGA) && defined(CONFIG_CMD_FPGA)
|
||||
|
||||
/* Local functions */
|
||||
static void fpga_usage (cmd_tbl_t * cmdtp);
|
||||
static int fpga_get_op (char *opstr);
|
||||
|
@ -321,4 +319,3 @@ U_BOOT_CMD (fpga, 6, 1, do_fpga,
|
|||
"\tloadb\tLoad device from bitstream buffer (Xilinx devices only)\n"
|
||||
"\tloadmk\tLoad device generated with mkimage\n"
|
||||
"\tdump\tLoad device to memory buffer\n");
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue