env: delete selected vars not present in imported env
authorGerlando Falauto <gerlando.falauto@keymile.com>
Sun, 26 Aug 2012 21:53:00 +0000 (21:53 +0000)
committerTom Rini <trini@ti.com>
Tue, 18 Sep 2012 19:01:52 +0000 (12:01 -0700)
commitd5370febbcbcee3f554df13ed72b7e2b91e5f66c
tree04331f086e366e932c7c8e92126ee8bee153f7a3
parentb64b7c3df7906342ca8abe8ae31c0c12ced3f401
env: delete selected vars not present in imported env

When variables explicitly specified on the command line are not present
in the imported env, delete them from the running env.
If the variable is also missing from the running env, issue a warning.

Signed-off-by: Gerlando Falauto <gerlando.falauto@keymile.com>
Reviewed-by: Marek Vasut <marex@denx.de>
lib/hashtable.c