Merge pull request #74054 from thefloweringash/uboot-tools-config

ubootTools: use tools-only_defconfig instead of allnoconfig
This commit is contained in:
Samuel Dionne-Riel 2019-11-24 12:21:31 -05:00 committed by GitHub
commit d4b8789bcb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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"