15 lines
362 B
Makefile
15 lines
362 B
Makefile
ccflags-y += -I$(src) -Wno-int-conversion -DCONFIG_ANDROID_BINDER_DEVICES="\"binder\""
|
|
obj-m := binder_linux.o
|
|
binder_linux-y := deps.o binder.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 deps.h *.o *.ko *.mod.c *.symvers *.order .*.cmd .tmp_versions
|