$ export ARCH=arm;export CROSS_COMPILE=arm-linux-gnueabihf-
$ cd DX910-SW-99002-r8p0-01rel0/driver/src/devicedrv/mali
$ KDIR=~/BPI-R2-4.14/ USING_UMP=1 BUILD=release make
Makefile:86:
make: *** No rule to make target '../ump/Module.symvers', needed by 'all'. Stop.
(*) For newer Linux Kernels, the Module.symvers file for the UMP device driver
must be available. The UMP_SYMVERS_FILE variable in the Makefile should
point to this file. This file is generated when the UMP driver is built.
you must first build UMP-driver then mali with UMP_SYMVERS_FILE set
Use of UMP is not recommended. The dma-buf API in the Linux kernel has
replaced UMP. The Mali Device Driver will be built with dma-buf support if the
kernel config includes enabled dma-buf.