at 18.09-beta 810 B view raw
1{ stdenv, buildPackages, fetchFromGitHub, perl, buildLinux, ubootTools, dtc, ... } @ args: 2 3let 4 modDirVersion = "4.14.12"; 5 tag = "r23"; 6in 7stdenv.lib.overrideDerivation (buildLinux (args // rec { 8 version = "${modDirVersion}-ti-${tag}"; 9 inherit modDirVersion; 10 11 src = fetchFromGitHub { 12 owner = "beagleboard"; 13 repo = "linux"; 14 rev = "${version}"; 15 sha256 = "07hdv2h12gsgafxsqqr7b0fir10rv9k66riklpjba2cg6x0p2nr4"; 16 }; 17 18 kernelPatches = args.kernelPatches; 19 20 features = { 21 efiBootStub = false; 22 } // (args.features or {}); 23 24 extraMeta.hydraPlatforms = [ "armv7l-linux" ]; 25} // (args.argsOverride or {}))) (oldAttrs: { 26 27 # This kernel will run mkuboot.sh. 28 postPatch = '' 29 patchShebangs scripts/ 30 ''; 31 32 nativeBuildInputs = oldAttrs.nativeBuildInputs ++ [ dtc ubootTools ]; 33 34})