aboutsummaryrefslogtreecommitdiff
path: root/tools/env
diff options
context:
space:
mode:
authorWolfgang Denk2005-11-20 21:40:11 +0100
committerWolfgang Denk2005-11-20 21:40:11 +0100
commitfe126d8b34d2e7c3c2dc1d4e61086018e016768c (patch)
treecf98c7ecc453853f3d8ec4093b5db2587931905b /tools/env
parent5a164c8ca909f170354ea66835b8145c930b2807 (diff)
Change all '$(...)' variable references into '${...}'
which makes the environment compatible with the hush shell. WARNING: Support for the old '$(...)' syntax will be discontinued in a later version.
Diffstat (limited to 'tools/env')
-rw-r--r--tools/env/fw_env.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/env/fw_env.h b/tools/env/fw_env.h
index cc2ff09572e..13c45a27809 100644
--- a/tools/env/fw_env.h
+++ b/tools/env/fw_env.h
@@ -43,8 +43,8 @@
#define CONFIG_BOOTDELAY 5 /* autoboot after 5 seconds */
#define CONFIG_BOOTCOMMAND \
"bootp; " \
- "setenv bootargs root=/dev/nfs nfsroot=$(serverip):$(rootpath) " \
- "ip=$(ipaddr):$(serverip):$(gatewayip):$(netmask):$(hostname)::off; " \
+ "setenv bootargs root=/dev/nfs nfsroot=${serverip}:${rootpath} " \
+ "ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}:${hostname}::off; " \
"bootm"
extern void fw_printenv(int argc, char *argv[]);