I know that these mainline builds are unsupported in any way, but there have been some efforts to quickly patch this problem for cross- compiling.
Examples: https://bugs.launchpad.net/ubuntu/+source/linux-ti- omap4/+bug/666267/comments/16 Also, I wrote up a quick hacky post-install script to workaround this issue, which works for arm64 mainline builds, here: https://gist.github.com/satmandu/b60a804fa2275615c88367bc68e4bad0 As a quick summary of the problem, it appears that these files are needed in the target architecture to build modules, but are in the cross-compile host architecture: scripts/recordmcount scripts/mod/modpost scripts/basic/fixdep "make scripts" does everything except make modpost, so I use "make modules_prepare" which errors out, but does make everything one needs. Oh, and unfortunately the packaging scripts seem to leave out these header files which are needed for the aforementioned compile process: security/selinux/include/classmap.h security/selinux/include/initial_sid_to_string.h tools/include/tools/be_byteshift.h tools/include/tools/le_byteshift.h So I download those first too. If any of that process could be eliminated, it would be appreciated. :) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1665447 Title: kernel ppa is building amd64 files inside mainline ppc64el package To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1665447/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
