2021-09-27 00:54:51 +08:00
|
|
|
ccflags-y += -I$(src) -Wno-int-conversion -DCONFIG_ANDROID_BINDER_DEVICES="\"binder\"" -DCONFIG_ANDROID_BINDERFS="y"
|
2018-06-08 23:17:43 +08:00
|
|
|
obj-m := binder_linux.o
|
2021-09-27 00:54:51 +08:00
|
|
|
binder_linux-y := deps.o binder.o binder_alloc.o binderfs.o
|
2018-06-08 23:17:43 +08:00
|
|
|
|
|
|
|
KERNEL_SRC ?= /lib/modules/$(shell uname -r)/build
|
|
|
|
|
|
|
|
all:
|
|
|
|
$(MAKE) -C $(KERNEL_SRC) V=0 M=$$PWD
|
|
|
|
|
|
|
|
install:
|
|
|
|
cp binder_linux.ko $(DESTDIR)/
|
|
|
|
|
|
|
|
clean:
|
2021-09-27 00:54:51 +08:00
|
|
|
rm -rf *.o *.ko *.mod.c *.symvers *.order .*.cmd .tmp_versions
|