diff options
author | Ben Wolsieffer <benwolsieffer@gmail.com> | 2018-03-06 00:04:10 -0500 |
---|---|---|
committer | John Ericson <John.Ericson@Obsidian.Systems> | 2018-05-13 16:12:10 -0400 |
commit | b63124dfc5f4f1f868a8132efc159d99f1b73516 (patch) | |
tree | 1e11c27ef70e662310b532ddf4451493df301dab /pkgs/misc/uboot | |
parent | d50bcaa8168b2b41d0e6d195d9ccb03e9d332d6c (diff) |
uboot: fix cross-build of ubootTools
(cherry picked from commit 28fd7d9594fa0ed1a1b80a9652b5ab065a29e077) (cherry picked from commit 4c669db598aba04b9a6dd3ecaf0811329d80a072)
Diffstat (limited to 'pkgs/misc/uboot')
-rw-r--r-- | pkgs/misc/uboot/default.nix | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/pkgs/misc/uboot/default.nix b/pkgs/misc/uboot/default.nix index 9da52e4943718..dbb2bbef1a4e3 100644 --- a/pkgs/misc/uboot/default.nix +++ b/pkgs/misc/uboot/default.nix @@ -86,12 +86,11 @@ in rec { ubootTools = buildUBoot rec { defconfig = "allnoconfig"; installDir = "$out/bin"; - buildFlags = "tools NO_SDL=1"; hardeningDisable = []; dontStrip = false; extraMeta.platforms = stdenv.lib.platforms.linux; # build tools/kwboot - extraMakeFlags = [ "CONFIG_KIRKWOOD=y" ]; + extraMakeFlags = [ "CONFIG_KIRKWOOD=y" "CROSS_BUILD_TOOLS=1" "NO_SDL=1" "tools" ]; postConfigure = '' sed -i '/CONFIG_SYS_TEXT_BASE/c\CONFIG_SYS_TEXT_BASE=0x00000000' .config ''; |