kernel build script for latest mainline manjaro kernel
#10
Yup, according to this,
https://www.kernel.org/doc/html/latest/k...dules.html

one can prepare the kernel source tree for building external modules without actually having to build the kernel, with the make target modules_prepare.

Multiarch,
https://wiki.debian.org/Multiarch/HOWTO

only supports parallel versions of libraries, not applications, so I'd have to remove some amount of the armhf build environment. Don't know yet if a mix of armhf & arm64 would work for general purposes.

For cross-compiling the kernel, one needs binutils-aarch64-linux-gnu and gcc-aarch64-linux-gnu, and those are only available for x86 in the Debian repositories.

So, I used this Raspberry Pi Howto to build minimal versions of both from source:
https://www.tal.org/tutorials/raspberry-...bit-kernel
(It needed package 'texinfo' in addition to the dependencies in the howto)

Next is to clone MrFixit's kernel, identify the right commit to checkout that matches the running kernel (looks like 209da1a), and modules_prepare that. I'll continue the drama in my thread since it's starting to get off-topic for manjaro mainline.


Messages In This Thread
RE: kernel build script for latest mainline manjaro kernel - by Dendrocalamus64 - 03-23-2020, 03:35 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Building PPSSPP with Manjaro AUR LivingLinux 0 1,476 06-11-2022, 05:07 PM
Last Post: LivingLinux
  How to update Manjaro to 20.10 pineitup 8 15,183 07-31-2021, 04:44 AM
Last Post: jiyong
  Make your own Manjaro image flatulent_piney 0 3,585 11-07-2020, 03:30 AM
Last Post: flatulent_piney
  Manjaro ARM, Cryptomator, and MEGA Sync dp1kinobe 3 7,897 10-24-2020, 06:38 AM
Last Post: pineitup
  Downgrading packages on Manjaro ARM (on the example of boinc) wrzomar 0 3,727 10-02-2020, 12:20 PM
Last Post: wrzomar
  Freepascal FPC3.20 and Lazarus IDE on Manjaro KDE dieselnutjob 0 3,154 08-02-2020, 06:57 AM
Last Post: dieselnutjob
  Installing WPS Office on Manjaro brent.thierens 5 10,716 07-13-2020, 03:13 AM
Last Post: brent.thierens
  full disk encryption with luks on manjaro xfce limxr 48 75,594 07-09-2020, 07:27 AM
Last Post: JtR
  Is there a MMC upgrade instruction from debian-mate to manjaro factory (20.06)? pljanson 4 8,874 06-23-2020, 12:41 AM
Last Post: pljanson
  mesa-git build script for latest panfrost xmixahlx 28 52,289 06-11-2020, 11:16 PM
Last Post: xmixahlx

Forum Jump:


Users browsing this thread: 1 Guest(s)