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:
Andrew Childs 2019-11-25 01:37:01 +09:00
parent c383268e11
commit 2db8c2310a

View File

@ -90,15 +90,12 @@ in {
inherit buildUBoot; inherit buildUBoot;
ubootTools = buildUBoot { ubootTools = buildUBoot {
defconfig = "allnoconfig"; defconfig = "tools-only_defconfig";
installDir = "$out/bin"; installDir = "$out/bin";
hardeningDisable = []; hardeningDisable = [];
dontStrip = false; dontStrip = false;
extraMeta.platforms = lib.platforms.linux; extraMeta.platforms = lib.platforms.linux;
extraMakeFlags = [ "HOST_TOOLS_ALL=y" "CROSS_BUILD_TOOLS=1" "NO_SDL=1" "tools" ]; 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 = [ filesToInstall = [
"tools/dumpimage" "tools/dumpimage"
"tools/fdtgrep" "tools/fdtgrep"