在OpenWrt上移植移远EC20等LTE模块时,给内核打补丁

[xujun@localhost patch]$ ls
999-quectel.patch  linux-3.18.29  linux-3.18.29.orig  ReadMe
[xujun@localhost patch]$ tree
.
├── 999-quectel.patch
├── linux-3.18.29
│   └── drivers
│       └── usb
│           └── serial
│               ├── option.c
│               └── usb_wwan.c
├── linux-3.18.29.orig
│   └── drivers
│       └── usb
│           └── serial
│               ├── option.c
│               └── usb_wwan.c
└── ReadMe

8 directories, 6 files
[xujun@localhost patch]$ cat ReadMe
diff -urN linux-3.18.29.orig/ linux-3.18.29 > 999-quectel.patch
cp 999-quectel.patch /home/xujun/cc/openwrt-chaos_calmer_HLKRM04/target/linux/ramips/patches-3.18

你可能感兴趣的:(OpenWrt)