diff --git a/devices/e1000/update.sh b/devices/e1000/update.sh index b4c28d49..f691be2a 100755 --- a/devices/e1000/update.sh +++ b/devices/e1000/update.sh @@ -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!"