diff options
author | Ye Li <ye.li@nxp.com> | 2019-07-16 02:06:10 -0700 |
---|---|---|
committer | Ye Li <ye.li@nxp.com> | 2019-07-17 00:14:12 -0700 |
commit | 64c02d26555491eb7cb758f58511620c1590c378 (patch) | |
tree | 6b2ef4a3cca08b991de40c9d94e9d9c005cdfce7 /env/Makefile | |
parent | 5b12d7cabb14bab9a95af7460b36c6c85db1b328 (diff) |
MLK-22279-2 env: Add a config to enable nowhere as default location
When booting from USB there is no place to store the environment and
should use default env. However CONFIG_ENV_IS_NOWHERE has dependence
with other env storage config. If we enable multiple storages, NOWHERE
can't be enabled. And saveenv won't be built if NOWHERE is set.
This patch introduces a new CONFIG_ENV_DEFAULT_NOWHERE, that can enable
NOWHERE as a default env location when other storage are not avaliable.
And allow to build saveenv.
Signed-off-by: Ye Li <ye.li@nxp.com>
Diffstat (limited to 'env/Makefile')
-rw-r--r-- | env/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/env/Makefile b/env/Makefile index 7ce8231d9a..e804ace5c0 100644 --- a/env/Makefile +++ b/env/Makefile @@ -28,6 +28,7 @@ obj-$(CONFIG_ENV_IS_IN_SPI_FLASH) += sf.o obj-$(CONFIG_ENV_IS_IN_REMOTE) += remote.o obj-$(CONFIG_ENV_IS_IN_UBI) += ubi.o obj-$(CONFIG_ENV_IS_NOWHERE) += nowhere.o +obj-$(CONFIG_ENV_DEFAULT_NOWHERE) += nowhere.o endif ifdef CONFIG_SPL_BUILD |