forked from enforc/android_kernel_lge_sm8150_new
-
Notifications
You must be signed in to change notification settings - Fork 2
/
merge_wlan.sh
executable file
·30 lines (30 loc) · 909 Bytes
/
merge_wlan.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#!/bin/sh
case $1 in
"q")
echo "Merge qcacld"
git fetch qcacld-3.0 $2
git merge -X subtree=drivers/staging/qcacld-3.0 FETCH_HEAD
;;
"w")
echo "Merge qca-wifi-host-cmn"
git fetch qca-wifi-host-cmn $2
git merge -X subtree=drivers/staging/qca-wifi-host-cmn FETCH_HEAD
;;
"f")
echo "Merge fw-api"
git fetch fw-api $2
git merge -X subtree=drivers/staging/fw-api FETCH_HEAD
;;
"a")
echo "Merge qcacld"
git fetch qcacld-3.0 $2
git merge -X subtree=drivers/staging/qcacld-3.0 FETCH_HEAD
echo "Merge qca-wifi-host-cmn"
git fetch qca-wifi-host-cmn $2
git merge -X subtree=drivers/staging/qca-wifi-host-cmn FETCH_HEAD
echo "Merge fw-api"
git fetch fw-api $2
git merge -X subtree=drivers/staging/fw-api FETCH_HEAD
;;
*)
esac