ubootTools: add fw_printenv/fw_setenv tool (#256625)
This commit is contained in:
commit
b0efcf6352
@ -44,7 +44,7 @@ let
|
|||||||
ncurses # tools/kwboot
|
ncurses # tools/kwboot
|
||||||
libuuid # tools/mkeficapsule
|
libuuid # tools/mkeficapsule
|
||||||
gnutls # tools/mkeficapsule
|
gnutls # tools/mkeficapsule
|
||||||
openssl # tools/mkimage
|
openssl # tools/mkimage and tools/env/fw_printenv
|
||||||
];
|
];
|
||||||
|
|
||||||
buildUBoot = lib.makeOverridable (
|
buildUBoot = lib.makeOverridable (
|
||||||
@ -177,6 +177,7 @@ in
|
|||||||
"HOST_TOOLS_ALL=y"
|
"HOST_TOOLS_ALL=y"
|
||||||
"NO_SDL=1"
|
"NO_SDL=1"
|
||||||
"cross_tools"
|
"cross_tools"
|
||||||
|
"envtools"
|
||||||
];
|
];
|
||||||
|
|
||||||
outputs = [
|
outputs = [
|
||||||
@ -186,13 +187,20 @@ in
|
|||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
installManPage doc/*.1
|
installManPage doc/*.1
|
||||||
|
|
||||||
|
# from u-boot's tools/env/README:
|
||||||
|
# "You should then create a symlink from fw_setenv to fw_printenv. They
|
||||||
|
# use the same program and its function depends on its basename."
|
||||||
|
ln -s $out/bin/fw_printenv $out/bin/fw_setenv
|
||||||
'';
|
'';
|
||||||
|
|
||||||
filesToInstall = [
|
filesToInstall = [
|
||||||
"tools/dumpimage"
|
"tools/dumpimage"
|
||||||
"tools/fdtgrep"
|
"tools/fdtgrep"
|
||||||
"tools/kwboot"
|
"tools/kwboot"
|
||||||
"tools/mkenvimage"
|
"tools/mkenvimage"
|
||||||
"tools/mkimage"
|
"tools/mkimage"
|
||||||
|
"tools/env/fw_printenv"
|
||||||
];
|
];
|
||||||
|
|
||||||
pythonScriptsToInstall = {
|
pythonScriptsToInstall = {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user