diff options
author | Eneas U de Queiroz <cotequeiroz@gmail.com> | 2020-04-07 17:07:21 -0300 |
---|---|---|
committer | Petr Štetiar <ynezz@true.cz> | 2020-04-09 12:51:10 +0200 |
commit | ccad1d681782fdebaea3631fa623653c2188185a (patch) | |
tree | 1e0d7f1e5ab0cbc01b856d750a8cade2c23b18a6 | |
parent | 1da014fcca2deb7b4e39f1b5bdd1bc1f10e724b5 (diff) | |
download | upstream-ccad1d681782fdebaea3631fa623653c2188185a.tar.gz upstream-ccad1d681782fdebaea3631fa623653c2188185a.tar.bz2 upstream-ccad1d681782fdebaea3631fa623653c2188185a.zip |
build: define RTC_SUPPORT as a bool
Currently, RTC_SUPPORT is defined as a tristate, with 'depends on m',
which is supposed to only let it be set to 'm' or 'n'. However,
scripts/target-metadata.pl will 'select' it, or setting it to 'y', which
defeats it's 'depends on m' restriction. The users of the symbol are
not expecting it to be necessarily 'm' either, so we can safely use it
as bool.
Newer versions of Linux 'conf' will issue a warning when it detects such
unmet dependencies, and will set it to 'n' instead of 'y', as the
current version does. In all cases, 'm' is never used.
Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
-rw-r--r-- | target/Config.in | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/target/Config.in b/target/Config.in index 3ee23ebf7f..9fead5994f 100644 --- a/target/Config.in +++ b/target/Config.in @@ -37,8 +37,7 @@ config USB_GADGET_SUPPORT bool config RTC_SUPPORT - tristate - depends on m + bool config BIG_ENDIAN bool |