]> git.baikalelectronics.ru Git - uboot.git/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)
commitbba67a380a0850373fdca3e0a158f7c8bfc65d7f
tree9972e13d4f99b6ff37b21d8f5aace2e76f18bb47
parent0bc5c645eb138e0782e5bfa0bf2d0241b26afc4d
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