Tune e1000 update script.

This commit is contained in:
Bjarne von Horn
2023-11-29 11:12:45 +01:00
parent f9fb3f1cc1
commit a72dfdc4c2

View File

@@ -21,7 +21,9 @@ for f in $KERNELDIR/drivers/net/ethernet/intel/e1000/*.[ch]; do
cp -v $o $e
op=${b/\./-$PREVER-orig.}
ep=${b/\./-$PREVER-ethercat.}
diff -u $op $ep | patch -p1 $e
diff -p -u $op $ep | patch -p1 $e
sed -i s/$PREVER-ethercat.h/$KERNELVER-ethercat.h/ $e
git add $o $e
echo -e "\t$e \\\\\n\t$o \\\\" >> Makefile.am
done
echo "Remember to update Makefile.am!"