summaryrefslogtreecommitdiffstats
path: root/common/cmd_ext2.c
diff options
context:
space:
mode:
authorGrant Likely <grant.likely@secretlab.ca>2007-09-24 09:05:31 -0600
committerGrant Likely <grant.likely@secretlab.ca>2007-11-20 22:33:54 -0700
commit4a43719a7738712811d822ca8125427b27a55cdc (patch)
tree8043a3f013ff7341a8394b81f72626bca3378ef2 /common/cmd_ext2.c
parent2f155f6c0a1f5e9a306a3f1f4fbe067db7ced3b1 (diff)
downloadu-boot-4a43719a7738712811d822ca8125427b27a55cdc.tar.gz
u-boot-4a43719a7738712811d822ca8125427b27a55cdc.tar.xz
u-boot-4a43719a7738712811d822ca8125427b27a55cdc.zip
[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_ext2.c')
-rw-r--r--common/cmd_ext2.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/common/cmd_ext2.c b/common/cmd_ext2.c
index 8bd2b476e5..f569406432 100644
--- a/common/cmd_ext2.c
+++ b/common/cmd_ext2.c
@@ -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