I think you may have misunderstood. The code I'm building is pure 4.14.78 code downloaded from the imx_4.14.78_1.0.0_ga branch.
i.e.:
mike@bldmachine:~$ mkdir kernel_upgrade
mike@bldmachine:~$: cd !$
mike@bldmachine:~/kernel_upgrade$ git clone https://source.codeaurora.org/external/imx/linux-imx -b imx_4.14.78_1.0.0_ga .
The only 4.1.15 remnant was the defconfig which I used to build my specific content. I have removed this, cleaned the directory, done a fresh pull and attempted the build process again with a defconfig I found in the 4.14.78 code (imx_). These are the build steps following the above commands to get the code:
mike@bldmachine:~/kernel_upgrade$ mkdir OUTPUT
mike@bldmachine:~/kernel_upgrade$ make O=OUTPUT imx_v6_v7_defconfig
make[1]: Entering directory '/home/mike/kernel_upgrade/OUTPUT'
HOSTCC scripts/basic/fixdep
GEN ./Makefile
HOSTCC scripts/kconfig/conf.o
HOSTCC scripts/kconfig/zconf.tab.o
HOSTLD scripts/kconfig/conf
#
# configuration written to .config
#
make[1]: Leaving directory '/home/mike/kernel_upgrade/OUTPUT'
mike@bldmachine:~/kernel_upgrade$ make O=OUTPUT zImage LOADADDR=0x10008000
With this sequence, I'm still seeing errors:
MODPOST vmlinux.o
arch/arm/mach-imx/busfreq_optee.o: In function `init_freq_optee':
busfreq_optee.c:(.text+0x53c): undefined reference to `imx_smp_wfe_optee'
busfreq_optee.c:(.text+0x540): undefined reference to `imx_smp_wfe_optee'
busfreq_optee.c:(.text+0x544): undefined reference to `imx_smp_wfe_optee_end'
/home/mike/kernel_upgrade/Makefile:1020: recipe for target 'vmlinux' failed
make[1]: *** [vmlinux] Error 1
make[1]: Leaving directory '/home/mike/kernel_upgrade/OUTPUT'
Makefile:146: recipe for target 'sub-make' failed
make: *** [sub-make] Error 2
So it appears even the base content here isn't working with the current defconfig. Note the latest git commit ID on this line is:
commit 94da7bdc489ba686d868bcf80678a37cae22673e
Author: Peng Fan <peng.fan@nxp.com>
Date: Thu Jan 3 18:50:30 2019 +0800