This repository has been archived by the owner on Feb 13, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 233
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Import kernel module source from original Anbox repository
- Loading branch information
0 parents
commit f3d77d6
Showing
27 changed files
with
6,919 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
KERNEL=="ashmem", NAME="%k", MODE="0666" | ||
KERNEL=="binder*", NAME="%k", MODE="0666" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# Anbox Kernel Modules | ||
|
||
This repository contains the kernel modules necessary to run the Anbox | ||
Android container runtime. They're split out of the original Anbox | ||
repository to make packaging in various Linux distributions easier. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
ashmem_linux | ||
binder_linux |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
ccflags-y += -I$(src) -Wno-error=implicit-int -Wno-int-conversion | ||
obj-m := ashmem_linux.o | ||
ashmem_linux-y := deps.o ashmem.o | ||
|
||
KERNEL_SRC ?= /lib/modules/$(shell uname -r)/build | ||
|
||
all: | ||
$(MAKE) -C $(KERNEL_SRC) V=0 M=$$PWD | ||
|
||
install: | ||
cp ashmem_linux.ko $(DESTDIR)/ | ||
|
||
clean: | ||
rm -rf deps.h *.o *.ko *.mod.c *.symvers *.order .*.cmd .tmp_versions |
Oops, something went wrong.