Hello, I want to compile a kernel that supports docker by myself, but I have tried many times and am reporting errors. The address is:
https://github.com/kyasu/android_kernel_xiaomi_sdm660
This problem has troubled me for a long time, can you help me to solve it, thank you
CC lib/mpi/mpi-cmp.o
CC techpack/audio/asoc/msm-lsm-client.o
../drivers/crypto/msm/ota_crypto.c:804:34: error: array type has incomplete element type ‘struct of_device_id’
804 | static const struct of_device_id qcota_match[] = {
| ^~~~~~~~~~~
../drivers/crypto/msm/ota_crypto.c:805:4: error: field name not in record or union initializer
805 | { .compatible = "qcom,qcota",
| ^
../drivers/crypto/msm/ota_crypto.c:805:4: note: (near initialization for ‘qcota_match’)
../drivers/crypto/msm/ota_crypto.c:804:34: warning: ‘qcota_match’ defined but not used [-Wunused-variable]
804 | static const struct of_device_id qcota_match[] = {
| ^~~~~~~~~~~
#!/bin/bash
export ANDROID_AARCH64=/home/xinhao/mipad4/newcl/Tool/toolchain_aarch64_travis/google_gcc/aarch64-linux-android-4.9/bin/
export ARCH=arm64
export SUBARCH=arm64
export PATH=$PATH:$ANDROID_AARCH64
export CROSS_COMPILE=aarch64-linux-android-
cd output
make O=output