Thursday, 8 October 2015

[Q] Strange Error Compiling Note 5 Kernel - PLEASE HELP!



Hi All,

I have been building permissive kernels for my own use for a while now, but the Note 5 kernel (both the "C" and "I" versions from Samsung open Source) is giving me fits. As you can see from my terminal output, I get through the creation of the image, the modules build fine, but when the firmware install makefile starts, I get an error I've never seen before, even if I have made no changes at all to the source code:


Code:


  OBJCOPY arch/arm64/boot/Image
  GZIP    arch/arm64/boot/Image.gz
  Building modules, stage 2.
  MODPOST 2 modules
  CC      net/ipv4/tcp_htcp.mod.o
  LD [M]  net/ipv4/tcp_htcp.ko
  CC      net/ipv4/tcp_westwood.mod.o
  LD [M]  net/ipv4/tcp_westwood.ko
/home/parallels/ANDROID/KERNEL/920c_kernel/scripts/Makefile.fwinst:45: target `/lib/firmware/tsp_stm/stm_z1.fw' given more than once in the same rule.


I have looked at the cited section code, but don't see anything obvious. I have also google searched for this error way too thoroughly and PM'd some who have successfully compiled this kernel, but alas...

I am running Ubuntu 14.04 via Parallels on a Macbook Pro running Yosemite. As noted above, I am compiling from the Samsung OpenvSource files for The 920I and have also tried the 920C version, as well. As for toolchains, I have tried the Android NDK aarch64 4.9 toolchain, linaro aarch64 4.9 and linaro aarch64 5.2, all to no avail. I have tried make clean, make mrproper, deleted .ccache, etc., as well as using/not using -jX.

Here is a link to a repo with the untouched source code: https://github.com/sk806/N5_Kernel.git

ANY HELP IS GREATLY APPRECIATED!!!

Thanks!

Steve



No comments:

Post a Comment