Tune e1000 update script.
This commit is contained in:
parent
f9fb3f1cc1
commit
a72dfdc4c2
|
|
@ -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!"
|
||||
|
|
|
|||
Loading…
Reference in New Issue