Skip to content
This repository has been archived by the owner on Feb 13, 2024. It is now read-only.

Commit

Permalink
Import kernel module source from original Anbox repository
Browse files Browse the repository at this point in the history
  • Loading branch information
morphis committed Jun 8, 2018
0 parents commit f3d77d6
Show file tree
Hide file tree
Showing 27 changed files with 6,919 additions and 0 deletions.
2 changes: 2 additions & 0 deletions 99-anbox.rules
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"
5 changes: 5 additions & 0 deletions README.md
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.
2 changes: 2 additions & 0 deletions anbox.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
ashmem_linux
binder_linux
14 changes: 14 additions & 0 deletions ashmem/Makefile
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
Loading

0 comments on commit f3d77d6

Please sign in to comment.