Add simple script to build and load relevant kernel modules
This commit is contained in:
parent
ec2002c971
commit
089e2daf22
1 changed files with 5 additions and 0 deletions
5
scripts/load-kmods.sh
Executable file
5
scripts/load-kmods.sh
Executable file
|
|
@ -0,0 +1,5 @@
|
|||
#!/bin/sh -ex
|
||||
sudo rmmod binder_linux || true
|
||||
sudo rmmod ashmem_linux || true
|
||||
(cd kernel/binder ; make clean && make -j4 ; sudo insmod binder_linux.ko; sudo chmod 666 /dev/binder)
|
||||
(cd kernel/ashmem ; make clean && make -j4 ; sudo insmod ashmem_linux.ko; sudo chmod 666 /dev/ashmem)
|
||||
Loading…
Add table
Add a link
Reference in a new issue