anchor.diff:  
     installsFirmware = (config.isEnabled "FW_LOADER") &&
       (isModular || (config.isDisabled "FIRMWARE_IN_KERNEL"));
  +
  +  commonMakeFlags = [
  +    "O=../build"
  +    "INSTALL_PATH=$(out)"
  +  ] ++ (optional isModular "MODLIB=$(out)/lib/modules/${modDirVersion}")
  +  ++ optional installsFirmware "INSTALL_FW_PATH=$(out)/lib/firmware";
   in
   
   stdenv.mkDerivation {
  
positive.code:   inherit patches src;
  
    prePatch = ''
      for mf in $(find -name Makefile -o -name Makefile.include); do
          echo "stripping FHS paths in \`$mf'..."
          sed -i "$mf" -e 's|/usr/bin/||g ; s|/bin/||g ; s|/sbin/||g'
      done
  
negative.code: 
    buildNativeInputs = [ perl nettools ] ++ optional isModular kmod;
  
    makeFlags = commonMakeFlags ++ [
     "INSTALLKERNEL=${installkernel stdenv.platform.kernelTarget}"
    ];
  
    crossAttrs = {
      makeFlags = commonMakeFlags ++ [
       "INSTALLKERNEL=${installkernel stdenv.cross.platform.kernelTarget}"
      ];
    };
  
    postInstall = stdenv.lib.optionalString installsFirmware ''
      mkdir -p $out/lib/firmware
  