[Android Q&A, Help & Troubleshooting] jk2Ker:
this is my device_tree github.com/jk2K/android_device_meizu_mx4pro

kernel, github.com/meizuosc/m462

I got this error when i try to port lineageOS 14.1 to meizu mx4pro

lineage make recoveryimage
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=7.1.2
LINEAGE_VERSION=14.1-20170910-UNOFFICIAL-mx4pro
TARGET_PRODUCT=lineage_mx4pro
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=cortex-a15
TARGET_2ND_ARCH=
TARGET_2ND_ARCH_VARIANT=
TARGET_2ND_CPU_VARIANT=
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-4.10.0-19-generic-x86_64-with-Ubuntu-17.04-zesty
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=NJH47F
OUT_DIR=/home/meng/android/lineage/out
RECOVERY_VARIANT=twrp
============================================
Running kati to generate build-lineage_mx4pro.ninja...
device/meizu/mx4pro/BoardConfigCommon.mk was modified, regenerating...
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=7.1.2
LINEAGE_VERSION=14.1-20170910-UNOFFICIAL-mx4pro
TARGET_PRODUCT=lineage_mx4pro
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=cortex-a15
TARGET_2ND_ARCH=
TARGET_2ND_ARCH_VARIANT=
TARGET_2ND_CPU_VARIANT=
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-4.10.0-19-generic-x86_64-with-Ubuntu-17.04-zesty
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=NJH47F
OUT_DIR=/home/meng/android/lineage/out
RECOVERY_VARIANT=twrp
============================================
build/core/binary.mk:1253: external/deqp/Android.mk: libdeqp: Unused source files: \
build/core/binary.mk:1253: external/pdfium/third_party/pdfiumbigint.mk: libpdfiumbigint: Unused source files: bigint/BigInteger.cc bigint/BigIntegerUtils.cc bigint/BigUnsigned.cc bigint/BigUnsignedInABase.cc
build/core/package_internal.mk:143: Empty argument supplied to find-subdir-assets
find: ‘/home/meng/android/lineage/out/target/common/obj/SHARED_LIBRARIES/libwifi-hal-mock_intermediates’: No such file or directory
build/core/package_internal.mk:143: Empty argument supplied to find-subdir-assets
build/core/binary.mk:1253: hardware/samsung_slsi-cm/exynos5430/mobicore/common/LogWrapper/Android.mk: mcDriverDaemon: Unused source files: \
build/core/Makefile:34: warning: overriding commands for target `/home/meng/android/lineage/out/target/product/mx4pro/system/lib/libril.so'
build/core/base_rules.mk:320: warning: ignoring old commands for target `/home/meng/android/lineage/out/target/product/mx4pro/system/lib/libril.so'
build/core/Makefile:34: warning: overriding commands for target `/home/meng/android/lineage/out/target/product/mx4pro/system/vendor/lib/libbt-vendor.so'
build/core/base_rules.mk:320: warning: ignoring old commands for target `/home/meng/android/lineage/out/target/product/mx4pro/system/vendor/lib/libbt-vendor.so'
Starting build with ninja
ninja: Entering directory `.'
ninja: error: '/home/meng/android/lineage/out/target/product/mx4pro/obj/STATIC_LIBRARIES/libbootloader_message_intermediates/export_includes', needed by '/home/meng/android/lineage/out/target/product/mx4pro/obj/EXECUTABLES/init_intermediates/import_includes', missing and no known rule to make it
build/core/ninja.mk:151: recipe for target 'ninja_wrapper' failed
make: *** [ninja_wrapper] Error 1

#### make failed to build some targets (01:00 (mm:ss)) ####

what can i do? thanks