diff options
author | Jon Loeliger <jdl@jdl.com> | 2007-06-11 19:02:20 -0500 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2007-07-04 00:23:12 +0200 |
commit | 4e109ae98294a5ca7ff848b7652c7bfd4023a94a (patch) | |
tree | 80dcbdc72dba03e92ffa147d4e4245a65d9af5d2 /fs/fdos | |
parent | d5be43de93ff905c465e509d45a3164ef48d26e7 (diff) | |
download | bootable_bootloader_goldelico_gta04-4e109ae98294a5ca7ff848b7652c7bfd4023a94a.zip bootable_bootloader_goldelico_gta04-4e109ae98294a5ca7ff848b7652c7bfd4023a94a.tar.gz bootable_bootloader_goldelico_gta04-4e109ae98294a5ca7ff848b7652c7bfd4023a94a.tar.bz2 |
fs/: Augment CONFIG_COMMANDS tests with defined(CONFIG_CMD_*).
This is a compatibility step that allows both the older form
and the new form to co-exist for a while until the older can
be removed entirely.
All transformations are of the form:
Before:
#if (CONFIG_COMMANDS & CFG_CMD_AUTOSCRIPT)
After:
#if (CONFIG_COMMANDS & CFG_CMD_AUTOSCRIPT) || defined(CONFIG_CMD_AUTOSCRIPT)
Signed-off-by: Jon Loeliger <jdl@freescale.com>
Diffstat (limited to 'fs/fdos')
-rw-r--r-- | fs/fdos/dev.c | 2 | ||||
-rw-r--r-- | fs/fdos/fat.c | 2 | ||||
-rw-r--r-- | fs/fdos/fdos.c | 2 | ||||
-rw-r--r-- | fs/fdos/fs.c | 2 | ||||
-rw-r--r-- | fs/fdos/subdir.c | 2 | ||||
-rw-r--r-- | fs/fdos/vfat.c | 2 |
6 files changed, 6 insertions, 6 deletions
diff --git a/fs/fdos/dev.c b/fs/fdos/dev.c index 5dea5cd..334d073 100644 --- a/fs/fdos/dev.c +++ b/fs/fdos/dev.c @@ -28,7 +28,7 @@ #include "dos.h" #include "fdos.h" -#if (CONFIG_COMMANDS & CFG_CMD_FDOS) +#if (CONFIG_COMMANDS & CFG_CMD_FDOS) || defined(CONFIG_CMD_FDOS) #define NB_HEADS 2 #define NB_TRACKS 80 diff --git a/fs/fdos/fat.c b/fs/fdos/fat.c index 2ef2371..7f26e2e 100644 --- a/fs/fdos/fat.c +++ b/fs/fdos/fat.c @@ -26,7 +26,7 @@ #include <config.h> #include <malloc.h> -#if (CONFIG_COMMANDS & CFG_CMD_FDOS) +#if (CONFIG_COMMANDS & CFG_CMD_FDOS) || defined(CONFIG_CMD_FDOS) #include "dos.h" #include "fdos.h" diff --git a/fs/fdos/fdos.c b/fs/fdos/fdos.c index a29f43d..5cae2e1 100644 --- a/fs/fdos/fdos.c +++ b/fs/fdos/fdos.c @@ -25,7 +25,7 @@ #include <common.h> #include <config.h> -#if (CONFIG_COMMANDS & CFG_CMD_FDOS) +#if (CONFIG_COMMANDS & CFG_CMD_FDOS) || defined(CONFIG_CMD_FDOS) #include <malloc.h> #include "dos.h" #include "fdos.h" diff --git a/fs/fdos/fs.c b/fs/fdos/fs.c index 3b9d09e..0fcf1a7 100644 --- a/fs/fdos/fs.c +++ b/fs/fdos/fs.c @@ -26,7 +26,7 @@ #include <config.h> #include <malloc.h> -#if (CONFIG_COMMANDS & CFG_CMD_FDOS) +#if (CONFIG_COMMANDS & CFG_CMD_FDOS) || defined(CONFIG_CMD_FDOS) #include "dos.h" #include "fdos.h" diff --git a/fs/fdos/subdir.c b/fs/fdos/subdir.c index 97b2504..deaccf1 100644 --- a/fs/fdos/subdir.c +++ b/fs/fdos/subdir.c @@ -26,7 +26,7 @@ #include <config.h> #include <malloc.h> -#if (CONFIG_COMMANDS & CFG_CMD_FDOS) +#if (CONFIG_COMMANDS & CFG_CMD_FDOS) || defined(CONFIG_CMD_FDOS) #include "dos.h" #include "fdos.h" diff --git a/fs/fdos/vfat.c b/fs/fdos/vfat.c index 46a464b..31028df 100644 --- a/fs/fdos/vfat.c +++ b/fs/fdos/vfat.c @@ -25,7 +25,7 @@ #include <common.h> #include <config.h> -#if (CONFIG_COMMANDS & CFG_CMD_FDOS) +#if (CONFIG_COMMANDS & CFG_CMD_FDOS) || defined(CONFIG_CMD_FDOS) #include <linux/ctype.h> #include "dos.h" |