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

Commit

Permalink
Bring back kernel modules
Browse files Browse the repository at this point in the history
  • Loading branch information
mariogrip committed Aug 11, 2018
1 parent ad8c3e7 commit dcd7e47
Show file tree
Hide file tree
Showing 16 changed files with 6,952 additions and 0 deletions.
2 changes: 2 additions & 0 deletions kernel/99-anbox.rules
@@ -0,0 +1,2 @@
KERNEL=="ashmem", NAME="%k", MODE="0666"
KERNEL=="binder*", NAME="%k", MODE="0666"
2 changes: 2 additions & 0 deletions kernel/anbox.conf
@@ -0,0 +1,2 @@
ashmem_linux
binder_linux
14 changes: 14 additions & 0 deletions kernel/ashmem/Makefile
@@ -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

0 comments on commit dcd7e47

Please sign in to comment.