Commit 96fe81f1 authored by Alyssa Ross's avatar Alyssa Ross
Browse files

linux: remove hack for old kernels

The oldest kernel supported in Nixpkgs is now 4.19 LTS, so we don't
need this any more.
parent b15687da
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -120,10 +120,6 @@ let
        # Ensure that depmod gets resolved through PATH
        sed -i Makefile -e 's|= /sbin/depmod|= depmod|'

        # fixup for pre-4.15 kernels using the $(cd $foo && /bin/pwd) pattern
        # FIXME: remove when no longer needed
        substituteInPlace Makefile tools/scripts/Makefile.include --replace /bin/pwd pwd

        # Don't include a (random) NT_GNU_BUILD_ID, to make the build more deterministic.
        # This way kernels can be bit-by-bit reproducible depending on settings
        # (e.g. MODULE_SIG and SECURITY_LOCKDOWN_LSM need to be disabled).