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/cramfs | |
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/cramfs')
-rw-r--r-- | fs/cramfs/cramfs.c | 2 | ||||
-rw-r--r-- | fs/cramfs/uncompress.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/fs/cramfs/cramfs.c b/fs/cramfs/cramfs.c index 48e7f63..37d0cba 100644 --- a/fs/cramfs/cramfs.c +++ b/fs/cramfs/cramfs.c @@ -27,7 +27,7 @@ #include <common.h> #include <malloc.h> -#if (CONFIG_COMMANDS & CFG_CMD_JFFS2) +#if (CONFIG_COMMANDS & CFG_CMD_JFFS2) || defined(CONFIG_CMD_JFFS2) #include <asm/byteorder.h> #include <linux/stat.h> diff --git a/fs/cramfs/uncompress.c b/fs/cramfs/uncompress.c index 170832a..18d1f0f 100644 --- a/fs/cramfs/uncompress.c +++ b/fs/cramfs/uncompress.c @@ -25,7 +25,7 @@ #include <watchdog.h> #include <zlib.h> -#if (CONFIG_COMMANDS & CFG_CMD_JFFS2) +#if (CONFIG_COMMANDS & CFG_CMD_JFFS2) || defined(CONFIG_CMD_JFFS2) static z_stream stream; |