I did not used the 4.13 kernel
Have you some documentation about your build enviornment? Perhaps i can help you in some parts later.
I found yout, that the Repository is an older one, then the actually configuration, which is on the pools. That's a little strange.
In the repo is only a linux-source-4.14.2, but on https://apt.armbian.com/pool/main/l/linux-source-4.14.14-next-meson64/linux-source-next-meson64_5.38_all.deb there is a newer one.
When testing this, i saw, that the description of the kernel is another one, then the used kernel:
linux-source-next-meson64_5.38 4.14.14+
include/config/kernel.release
include/generated/utsrelease.h
kernel: 4.14.14-meson64
Dmesg error insmod with wrong release:
xfs: version magic '4.14.14+ SMP preempt mod_unload aarch64' should be '4.14.14-meson64 SMP preempt mod_unload aarch64'
When change it to 4.14.14-meson64 in the files, i got an error when insmod xfs.ko:
[16683.222037] xfs: loading out-of-tree module taints kernel.
[16683.224331] xfs: Unknown symbol iomap_file_buffered_write (err 0)
[16683.224374] xfs: Unknown symbol iomap_truncate_page (err 0)
[16683.224478] xfs: Unknown symbol iomap_file_dirty (err 0)
[16683.224719] xfs: Unknown symbol iomap_dio_rw (err 0)
[16683.224802] xfs: Unknown symbol iomap_seek_hole (err 0)
[16683.224925] xfs: Unknown symbol iomap_page_mkwrite (err 0)
[16683.225250] xfs: Unknown symbol iomap_fiemap (err 0)
[16683.225389] xfs: Unknown symbol crc32c (err 0)
[16683.225767] xfs: Unknown symbol iomap_zero_range (err 0)
[16683.226000] xfs: Unknown symbol iomap_seek_data (err 0)
I have a project in front of me for the renegade, but i will understand how the process is working here.