From 2f7e5d4c1e877d618f1b349c1f14f4ca66404e15 Mon Sep 17 00:00:00 2001 From: Las Safin Date: Sun, 19 Sep 2021 16:18:54 +0000 Subject: [PATCH] Add ppc64le cross compiler --- nix/ls180.nix | 8 +++++--- src/soc/litex/florent | 2 +- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/nix/ls180.nix b/nix/ls180.nix index 0c3d845e..37b97506 100644 --- a/nix/ls180.nix +++ b/nix/ls180.nix @@ -1,6 +1,6 @@ { version }: -{ stdenv, python3Packages, yosys, libresoc-pre-litex, libresoc-pinmux }: +{ stdenv, python3Packages, yosys, libresoc-pre-litex, libresoc-pinmux, pkgsCross }: stdenv.mkDerivation { pname = "libresoc-ls1804k"; @@ -8,9 +8,11 @@ stdenv.mkDerivation { src = ../src/soc/litex/florent; - nativeBuildInputs = with python3Packages; [ + nativeBuildInputs = + (with python3Packages; [ python libresoc-soc litex litedram liteeth liteiclink litescope litesdcard - ]; + ]) + ++ [ pkgsCross.powernv.buildPackages.gcc ]; postPatch = '' patchShebangs --build . diff --git a/src/soc/litex/florent b/src/soc/litex/florent index 6efd2e59..a3106935 160000 --- a/src/soc/litex/florent +++ b/src/soc/litex/florent @@ -1 +1 @@ -Subproject commit 6efd2e59703f6f0747435f97030e8a463233457f +Subproject commit a3106935913b18140fdf3b85ce802a2e7566f49b -- 2.30.2