Skip to content
This repository was archived by the owner on Jan 25, 2023. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 8 additions & 6 deletions binder/Makefile
Original file line number Diff line number Diff line change
@@ -1,15 +1,17 @@
ccflags-y += -I$(src) -Wno-int-conversion -Wno-error=incompatible-pointer-types -DCONFIG_ANDROID_BINDER_DEVICES="\"\"" -DCONFIG_ANDROID_BINDERFS

obj-m := binder_linux.o
binder_linux-y := binder.o binder_alloc.o deps.o binderfs.o
ccflags-y += -I$(src) -Wno-int-conversion -Wno-error=incompatible-pointer-types -DCONFIG_ANDROID_BINDER_DEVICES="\"hostbinder,hostvndbinder,hosthwbinder\"" -DCONFIG_ANDROID_BINDERFS
obj-m := binderfs_module.o binder_module.o
binder_module-y := deps.o binder.o binder_alloc.o
binderfs_module-y := deps.o binderfs.o

KERNEL_SRC ?= /lib/modules/$(shell uname -r)/build

all:
$(MAKE) -C $(KERNEL_SRC) V=0 M=$$PWD

install:
cp binder_linux.ko $(DESTDIR)/
insmod binder_linux.ko
cp binder_module.ko $(DESTDIR)/
cp binderfs_module.ko $(DESTDIR)/
insmod binder_module.ko
insmod binderfs_module.ko
clean:
rm -rf *.o *.ko *.mod.c *.symvers *.order .*.cmd .tmp_versions *.ur-safe
Loading