Jump to content

[Armbian build PR] - Fix issues 4589


Recommended Posts

Posted

Description

We need to pre-install the necessary dependencies if the INSTALL_HEADERS=yes key has been selected. We have to pass the architecture value to the "make" command in the kernel header compilation script.

Issues reference number #4589

How Has This Been Tested?

This is how the log looks with the debug code enabled: For sunxi64:

Unpacking linux-headers-current-sunxi64 (23.02.0-trunk) ...
Setting up flex (2.6.4-8build2) ...
Setting up libssl-dev:arm64 (3.0.2-0ubuntu1.7) ...
Setting up bison (2:3.8.2+dfsg-1build1) ...
update-alternatives: using /usr/bin/bison.yacc to provide /usr/bin/yacc (yacc) in auto mode
Setting up linux-headers-current-sunxi64 (23.02.0-trunk) ...
Compiling headers - please wait ...
SUBARCH=
ARCH=arm64
SRCARCH=arm64
UTS_MACHINE=aarch64
DEB_BUILD_ARCH=amd64
DEB_HOST_ARCH=arm64
Processing triggers for man-db (2.10.2-1) ...

It is the same for sunxi.

Checklist:

  • [x] Test build image for bananapim3
  • [x] Test build image for bananapim64

View the full article

×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines