diff options
author | Grant Likely <grant.likely@secretlab.ca> | 2007-09-24 09:05:31 -0600 |
---|---|---|
committer | Grant Likely <grant.likely@secretlab.ca> | 2007-11-20 22:33:54 -0700 |
commit | 4a43719a7738712811d822ca8125427b27a55cdc (patch) | |
tree | 8043a3f013ff7341a8394b81f72626bca3378ef2 /common/cmd_usb.c | |
parent | 2f155f6c0a1f5e9a306a3f1f4fbe067db7ced3b1 (diff) |
[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>
Diffstat (limited to 'common/cmd_usb.c')
-rw-r--r-- | common/cmd_usb.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/common/cmd_usb.c b/common/cmd_usb.c index 45e07f175c8..c6b17c2ab7a 100644 --- a/common/cmd_usb.c +++ b/common/cmd_usb.c @@ -29,9 +29,6 @@ #include <command.h> #include <asm/byteorder.h> #include <part.h> - -#if defined(CONFIG_CMD_USB) - #include <usb.h> #ifdef CONFIG_USB_STORAGE @@ -608,12 +605,6 @@ int do_usb (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[]) return 1; } - -#endif - - -#if defined(CONFIG_CMD_USB) - #ifdef CONFIG_USB_STORAGE U_BOOT_CMD( usb, 5, 1, do_usb, @@ -645,4 +636,3 @@ U_BOOT_CMD( "usb info [dev] - show available USB devices\n" ); #endif -#endif |