File tree Expand file tree Collapse file tree 2 files changed +23
-0
lines changed Expand file tree Collapse file tree 2 files changed +23
-0
lines changed Original file line number Diff line number Diff line change 1
1
output
2
+ download
Original file line number Diff line number Diff line change @@ -4,6 +4,11 @@ rootwait ro init=/sbin/init
4
4
cmdline =$(def_cmd ) root=/dev/mmcblk1p23
5
5
target =output/utagboot/
6
6
7
+ kexec_modules_url =http://muru.com/linux/d4/
8
+ kexec_modules_version =0.3
9
+ kexec_modules =ddroid4-mainline-kexec-$(kexec_modules_version ) .tar.xz
10
+ stock_kernel_modules =$(target ) lib/modules/3.0.8-g448a95f/kernel/
11
+
7
12
install : utags
8
13
fastboot flash utags utags.bin
9
14
@@ -15,5 +20,22 @@ utags: clean
15
20
scripts/utagboot.sh $(target ) utags.bin " $( cmdline) "
16
21
hexdump -C $(target ) utags.bin
17
22
23
+ download_files :
24
+ mkdir -p download
25
+ if [ ! -f download/$( kexec_modules) ]; then \
26
+ curl $(kexec_modules_url )$(kexec_modules ) \
27
+ -o download/$(kexec_modules ) ; \
28
+ tar xf download/$(kexec_modules ) -C download/; \
29
+ fi
30
+
31
+ install_modules : download_files
32
+ mkdir -p $(stock_kernel_modules )
33
+ cp download/droid4-mainline-kexec-$(kexec_modules_version ) /uart.ko \
34
+ $(stock_kernel_modules )
35
+ cp download/droid4-mainline-kexec-$(kexec_modules_version ) /arm_kexec.ko \
36
+ $(stock_kernel_modules )
37
+ cp download/droid4-mainline-kexec-$(kexec_modules_version ) /kexec.ko \
38
+ $(stock_kernel_modules )
39
+
18
40
clean :
19
41
rm -f $(target ) utags* .bin
You can’t perform that action at this time.
0 commit comments