Permalink
Browse files

yf_patchkernel: one-liner as helper to create patch file for Freetz t…

…oolchain
  • Loading branch information...
PeterPawn committed Jan 19, 2019
1 parent 8879ea8 commit 9c57528e9623cec7783a41f02d919f8c63075f2a
Showing with 3 additions and 0 deletions.
  1. +3 −0 patch_kernel/src2patch.sh
@@ -0,0 +1,3 @@
#! /bin/sh
[ -t 1 ] && exec 1>./900-patchkernel_source
diff -u /dev/null ./yf_patchkernel.c | sed -e '1s|.*|--- /dev/null|' -e '2s|.*|+++ linux-3.10/drivers/net/yf_patchkernel.c|'

0 comments on commit 9c57528

Please sign in to comment.