diff options
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/top-level/platforms.nix | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/top-level/platforms.nix b/pkgs/top-level/platforms.nix index 492a0deaf124..61ea4bafab24 100644 --- a/pkgs/top-level/platforms.nix +++ b/pkgs/top-level/platforms.nix @@ -8,6 +8,8 @@ with pkgs; # Build whatever possible as a module, if not stated in the extra config. kernelAutoModules = true; kernelTarget = "bzImage"; + # This next line makes uboot happy, more than being ever used in the kernel build. + kernelArch = if (system == "i686-linux") then "x86" else "x86_64"; kernelExtraConfig = '' # Virtualisation (KVM, Xen...). |