mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-09-22 04:57:56 +03:00
ubootTools: use tools-only_defconfig instead of allnoconfig
Includes more features in the tools, like support for Flat Device Tree files in mkimage.
This commit is contained in:
parent
c383268e11
commit
2db8c2310a
@ -90,15 +90,12 @@ in {
|
||||
inherit buildUBoot;
|
||||
|
||||
ubootTools = buildUBoot {
|
||||
defconfig = "allnoconfig";
|
||||
defconfig = "tools-only_defconfig";
|
||||
installDir = "$out/bin";
|
||||
hardeningDisable = [];
|
||||
dontStrip = false;
|
||||
extraMeta.platforms = lib.platforms.linux;
|
||||
extraMakeFlags = [ "HOST_TOOLS_ALL=y" "CROSS_BUILD_TOOLS=1" "NO_SDL=1" "tools" ];
|
||||
postConfigure = ''
|
||||
sed -i '/CONFIG_SYS_TEXT_BASE/c\CONFIG_SYS_TEXT_BASE=0x00000000' .config
|
||||
'';
|
||||
filesToInstall = [
|
||||
"tools/dumpimage"
|
||||
"tools/fdtgrep"
|
||||
|
Loading…
Reference in New Issue
Block a user