03-22-2020, 03:05 AM
Trying to build on the stock Debian+Mate which is stretch rather than sid.
Needed additional packages: bison fakeroot flex libssl-dev
Also kernel-package has to be got from stretch-backports as it's not in stretch.
https://backports.debian.org/Instructions/
Now dying with "gcc: error: unrecognized command line option '-mgeneral-regs-only' "
That is an option understood only by the aarch64 compiler, and stock uses debian armhf rather than arm64.
So that would need an armhf->arm64 cross-compile, or building the kernel with a different selected arch, I suppose.
And I'll look at that more later, I'm out of time for now.
Needed additional packages: bison fakeroot flex libssl-dev
Also kernel-package has to be got from stretch-backports as it's not in stretch.
https://backports.debian.org/Instructions/
Now dying with "gcc: error: unrecognized command line option '-mgeneral-regs-only' "
That is an option understood only by the aarch64 compiler, and stock uses debian armhf rather than arm64.
So that would need an armhf->arm64 cross-compile, or building the kernel with a different selected arch, I suppose.
And I'll look at that more later, I'm out of time for now.