mirror of
https://gitlab.com/etherlab.org/ethercat.git
synced 2026-02-06 20:01:44 +08:00
Tune e1000 update script.
This commit is contained in:
@@ -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!"
|
||||
|
||||
Reference in New Issue
Block a user