mirror of
https://github.com/choff/anbox-modules.git
synced 2025-01-18 21:15:43 +08:00
0338a34979
Over the last years, many fixes and changes have been applied to Binder in the Linux kernel, but these fixes were never backported to anbox-modules. The meant that the version of Binder in anbox-modules was very outdated. With this commit, Binder has been update to the latest state from the Linux kernel. This should also fix the compile on kernel 5.12 and later.
15 lines
411 B
Makefile
15 lines
411 B
Makefile
ccflags-y += -I$(src) -Wno-int-conversion -DCONFIG_ANDROID_BINDER_DEVICES="\"binder\"" -DCONFIG_ANDROID_BINDERFS="y"
|
|
obj-m := binder_linux.o
|
|
binder_linux-y := deps.o binder.o binder_alloc.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)/
|
|
|
|
clean:
|
|
rm -rf *.o *.ko *.mod.c *.symvers *.order .*.cmd .tmp_versions
|