summaryrefslogtreecommitdiff
path: root/include/env_default.h
diff options
context:
space:
mode:
authorMario Six <mario.six@gdsys.cc>2018-03-28 14:38:20 +0200
committerTom Rini <trini@konsulko.com>2018-04-08 18:31:09 -0400
commit5bc0543df3079add8152afa041b887d081d71839 (patch)
tree52391dd5ad89ac8681dccb7efd6a3441e2ccec06 /include/env_default.h
parent07dea2e737f78ee70e81c27d976811f0e9fdbad8 (diff)
downloadu-boot-5bc0543df3079add8152afa041b887d081d71839.tar.gz
u-boot-5bc0543df3079add8152afa041b887d081d71839.tar.bz2
u-boot-5bc0543df3079add8152afa041b887d081d71839.zip
treewide: Convert CONFIG_HOSTNAME to a string option
CONFIG_HOSTNAME is defined as a "plain" preprocessor string, but every use is couched by __stringify(...). Hence, convert it to a proper string option. Signed-off-by: Mario Six <mario.six@gdsys.cc>
Diffstat (limited to 'include/env_default.h')
-rw-r--r--include/env_default.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/env_default.h b/include/env_default.h
index ba1c3c0d74..7d5988a1a5 100644
--- a/include/env_default.h
+++ b/include/env_default.h
@@ -75,7 +75,7 @@ const uchar default_environment[] = {
"netmask=" __stringify(CONFIG_NETMASK) "\0"
#endif
#ifdef CONFIG_HOSTNAME
- "hostname=" __stringify(CONFIG_HOSTNAME) "\0"
+ "hostname=" CONFIG_HOSTNAME "\0"
#endif
#ifdef CONFIG_BOOTFILE
"bootfile=" CONFIG_BOOTFILE "\0"