]> git.sur5r.net Git - u-boot/commit
script: Make the get_default_envs.sh script working with newest u-boot
authorLukasz Majewski <lukma@denx.de>
Wed, 14 Feb 2018 10:39:48 +0000 (11:39 +0100)
committerTom Rini <trini@konsulko.com>
Tue, 20 Feb 2018 13:21:30 +0000 (08:21 -0500)
commit0778e7c50ba1904943a1d6b5194c29d1fee33334
tree9972e13d4f99b6ff37b21d8f5aace2e76f18bb47
parent26862b4a40c31b59618f7776ca06f0ed453cc380
script: Make the get_default_envs.sh script working with newest u-boot

This commit fixes several issues:

- After moving env related code to ./env directory the env_common.o file
is no longer present in the system (has been replaced with built-in.o).

- Use ${OBJCOPY} if available, fallback to system default's objcopy if not
present.

- Extend the script to accept different build directory than current one.
It is extremely handy with OE usage, where source code is separated from
build.

Signed-off-by: Lukasz Majewski <lukma@denx.de>
Tested-by: Alex Kiernan <alex.kiernan@gmail.com>
scripts/get_default_envs.sh