kernel: binder: use kallsyms_lookup_name for internal symbol access

This commit is contained in:
Simon Fels 2016-12-06 08:26:49 +01:00
commit 2095bebe0b
3 changed files with 47 additions and 44 deletions

View file

@ -1,14 +1,7 @@
ccflags-y += -I$(src)
ifneq ($(KERNELRELEASE),)
ccflags-y += -I$(src) -Wno-int-conversion
obj-m := binder_linux.o
binder_linux-y := deps.o binder.o
$(obj)/deps.o: $(src)/deps.h
$(obj)/deps.h: $(src)/gen_deps.sh
sudo $(src)/gen_deps.sh > $@
else
KERNEL_SRC ?= /lib/modules/$(shell uname -r)/build
all:
@ -19,4 +12,3 @@ install:
clean:
rm -rf deps.h *.o *.ko *.mod.c *.symvers *.order .*.cmd .tmp_versions
endif