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_immap.c | |
parent | 2f155f6c0a1f5e9a306a3f1f4fbe067db7ced3b1 (diff) | |
download | u-boot-imx-4a43719a7738712811d822ca8125427b27a55cdc.zip u-boot-imx-4a43719a7738712811d822ca8125427b27a55cdc.tar.gz u-boot-imx-4a43719a7738712811d822ca8125427b27a55cdc.tar.bz2 |
[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_immap.c')
-rw-r--r-- | common/cmd_immap.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/common/cmd_immap.c b/common/cmd_immap.c index ae95758..d758269 100644 --- a/common/cmd_immap.c +++ b/common/cmd_immap.c @@ -28,8 +28,7 @@ #include <common.h> #include <command.h> -#if defined(CONFIG_CMD_IMMAP) && \ - (defined(CONFIG_8xx) || defined(CONFIG_8260)) +#if defined(CONFIG_8xx) || defined(CONFIG_8260) #if defined(CONFIG_8xx) #include <asm/8xx_immap.h> @@ -41,9 +40,7 @@ #include <asm/iopin_8260.h> #endif -#if defined(CONFIG_8xx) || defined(CONFIG_8260) DECLARE_GLOBAL_DATA_PTR; -#endif static void unimplemented ( cmd_tbl_t *cmdtp, int flag, int argc, char *argv[]) |