Linux kernel: Difference between revisions

imported>MakiseKurisu
imported>Khoi
Line 149: Line 149:
       ncurses
       ncurses
       qt5.qtbase
       qt5.qtbase
       pkgsCross.aarch64-multiplatform.stdenv.cc
      # new gcc usually causes issues with building kernel so use an old one
       pkgsCross.aarch64-multiplatform.gcc8Stdenv.cc
      (hiPrio gcc8)
     ]
     ]
     ++ pkgs.linux.nativeBuildInputs);
     ++ pkgs.linux.nativeBuildInputs);
   runScript = pkgs.writeScript "init.sh" ''
   runScript = pkgs.writeScript "init.sh" ''
     export ARCH=arm64
     export ARCH=arm64
    export hardeningDisable=all
     export CROSS_COMPILE=aarch64-unknown-linux-gnu-
     export CROSS_COMPILE=aarch64-unknown-linux-gnu-
     export PKG_CONFIG_PATH="${pkgs.ncurses.dev}/lib/pkgconfig:${pkgs.qt5.qtbase.dev}/lib/pkgconfig"
     export PKG_CONFIG_PATH="${pkgs.ncurses.dev}/lib/pkgconfig:${pkgs.qt5.qtbase.dev}/lib/pkgconfig"