mirror of
https://gitlab.com/etherlab.org/ethercat.git
synced 2026-02-06 11:51:45 +08:00
replace kernel versions in igb update script.
This commit is contained in:
@@ -24,6 +24,11 @@ for f in $FILES; do
|
||||
cp -v $o $e
|
||||
op=${f/\./-$PREVER-orig.}
|
||||
ep=${f/\./-$PREVER-ethercat.}
|
||||
diff -u $op $ep | patch -p1 $e
|
||||
diff -up $op $ep | patch -p1 --no-backup-if-mismatch $e
|
||||
sed -i s/$PREVER-ethercat.h/$KERNELVER-ethercat.h/ $e
|
||||
git add $o $e
|
||||
echo -e "\t$e \\" >> Makefile.am
|
||||
echo -e "\t$o \\" >> Makefile.am
|
||||
done
|
||||
|
||||
echo "Don't forget to update Makefile.am!"
|
||||
|
||||
Reference in New Issue
Block a user