-
Notifications
You must be signed in to change notification settings - Fork 7
/
Makefile
85 lines (70 loc) · 2.01 KB
/
Makefile
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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
default:
@cp coldkernel.config coldkernel.config.orig
@bash build.sh
@mv coldkernel.config.orig coldkernel.config
kvm-host:
@cp coldkernel.config coldkernel.config.orig
@patch <./virt/kvm/kvm-host.patch
@bash build.sh
@mv coldkernel.config.orig coldkernel.config
kvm-guest:
@cp coldkernel.config coldkernel.config.orig
@patch < ./virt/kvm/kvm-guest.patch
@bash build.sh
@mv coldkernel.config.orig coldkernel.config
xen-host:
@cp coldkernel.config coldkernel.config.orig
@patch < ./virt/xen/xen-host.patch
@bash build.sh
@mv coldkernel.config.orig coldkernel.config
xen-guest:
@cp coldkernel.config coldkernel.config.orig
@patch < ./virt/xen/xen-guest.patch
@bash build.sh
@mv coldkernel.config.orig coldkernel.config
virtualbox-host:
@cp coldkernel.config coldkernel.config.orig
@patch < ./virt/virtualbox/virtualbox-host.patch
@bash build.sh
@mv coldkernel.config.orig coldkernel.config
virtualbox-guest:
@cp coldkernel.config coldkernel.config.orig
@patch < ./virt/virtualbox/virtualbox-guest.patch
@bash build.sh
@mv coldkernel.config.orig coldkernel.config
vmware-host:
@cp coldkernel.config coldkernel.config.orig
@patch < ./virt/vmware/vmware-host.patch
@bash build.sh
@mv coldkernel.config.orig coldkernel.config
vmware-guest:
@cp coldkernel.config coldkernel.config.orig
@patch < ./virt/vmware/vmware-guest.patch
@bash build.sh
@mv coldkernel.config.orig coldkernel.config
hyperv-guest:
@cp coldkernel.config coldkernel.config.orig
@patch < ./virt/hyperv/hyperv-guest.patch
@bash build.sh
@mv coldkernel.config.orig coldkernel.config
qubes-guest:
@cp coldkernel.config coldkernel.config.orig
@patch < ./virt/qubes/qubes-guest.patch
@bash build.sh
@mv coldkernel.config.orig coldkernel.config
install-deb:
@dpkg -i linux-headers*.deb
@dpkg -i linux-image*.deb
install-rpm:
@yum localinstall kernel-*
debug:
@bash build.sh -v
clean:
@rm -rv linux-*/ &
@rm -rv *.tar &
@rm -rv *-coldkernel-* &
@rm -rv *_coldkernel_*
distclean:
@rm -rv linux-* &
@rm -rvf patches &
@rm -rv kernel-*