forked from peteralfonso/platform_manifest
-
Notifications
You must be signed in to change notification settings - Fork 53
/
kernel_special_cases.sh
executable file
·52 lines (50 loc) · 1.44 KB
/
kernel_special_cases.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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
#!/bin/bash
#this is brittle, but it ought to get the job done.
## all non-specified kernels are assumed to be from LineageOS
export remote="cmold"
export remoterevision="cm-14.1"
case $1 in
a5y17lte)
export remote="github"
export kernelsource="raymanfx/android_kernel_samsung_a5y17lte"
;;
amami)
export remote="github"
export remoterevision="AICP-n7.1-sony"
export kernelsource="SpiritCroc/android_kernel_sony_msm"
;;
angler)
export remote="vanir"
export remoterevision="n71"
export kernelsource="kernel_huawei_angler"
;;
athene)
export remote="vanir"
export remoterevision="n71"
export kernelsource="kernel_motorola_msm8952"
;;
d800|d801|d802|d803|f320|ls980|vs980)
export remote="vanir"
export remoterevision="n71"
export kernelsource="kernel_lge_msm8974"
;;
mako)
export kernelsource="lge-kernel-mako"
;;
marlin|sailfish)
export remote="vanir"
export remoterevision="n71"
export kernelsource="kernel_google_marlin"
export kernellocation="kernel/google/marlin"
;;
oneplus2)
export remote="github"
export kernelsource="Grarak/android_kernel_oneplus_msm8994"
export remoterevision="cm-14.1"
;;
shamu)
export remote="vanir"
export remoterevision="n71"
export kernelsource="kernel_moto_shamu"
;;
esac