drivers/built-in.o: In function `cma_map_kernel':
clk-ac100.c:(.text+0xb5860): undefined reference to `__get_dma_pgprot'
drivers/built-in.o: In function `psmouse_extensions':
clk-ac100.c:(.text+0x1bd5dc): undefined reference to `lifebook_detect'
Makefile:876: recipe for target '.tmp_vmlinux1' failed
make[1]: *** [.tmp_vmlinux1] Error 1
解决方法参考 https://github.com/BPI-SINOVOIP/BPI-M3-bsp/issues/14
I had same problems this is what I had to do
Patch refrnece change whats in this patch: https://pastebin.com/3iA09i26
another error later in build:mkdir -p linux-sunxi/output/lib/firmware
to fix lifebook_detect
edit
KernelDir/drivers/mouse/lifebook.h:22inline int lifebook_detect(struct psmouse *psmouse, bool set_properties)
toint lifebook_detect(struct psmouse *psmouse, bool set_properties)
And BOOM compiled