env: Simplify Makefile using $(SPL_TPL_)
authorYork Sun <york.sun@nxp.com>
Tue, 26 Jun 2018 17:03:22 +0000 (10:03 -0700)
committerTom Rini <trini@konsulko.com>
Sat, 21 Jul 2018 16:24:31 +0000 (12:24 -0400)
commit474ecd2c84d97314b8145fbe3a57887f41b2edb3
treeaf23d2f9097bfaef92c69a4ed3177f85454c2907
parent646f1ab4bcfedf2db7df47a46ac2353366b7b2b7
env: Simplify Makefile using $(SPL_TPL_)

Add Kconfig options SPL_ENV_* and TPL_ENV_* and simplify Makefile.
This allows SPL/TPL image has different environment setting from
full feature U-Boot.

Signed-off-by: York Sun <york.sun@nxp.com>
env/Kconfig
env/Makefile