diff options
author | Mario Six <mario.six@gdsys.cc> | 2018-03-28 14:38:20 +0200 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2018-04-08 18:31:09 -0400 |
commit | 5bc0543df3079add8152afa041b887d081d71839 (patch) | |
tree | 52391dd5ad89ac8681dccb7efd6a3441e2ccec06 /include/env_default.h | |
parent | 07dea2e737f78ee70e81c27d976811f0e9fdbad8 (diff) | |
download | u-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.h | 2 |
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" |