Skip to content
View in the app

A better way to browse. Learn more.

Learn more

[Armbian build PR] - Use multithreading in xz compression for kernel `make` and change KBUILD to `build@armbian`

Featured Replies

Description

Add parallel compression for xz with the option XZ_OPT="--threads=0"

gzip and bzip were already using parallel compressors. xz has this option built-in, so add the argument to make use of it.

Source: https://lore.kernel.org/lkml/20200901151002.988547791@linuxfoundation.org/

Also change KBUILD user and host to make cat /proc/version show something like Linux version 6.9.8 (build@armbian) instead of Linux version 6.9.8 (armbian@next). build@armbian refers to the Armbian build framework (this repository)

How Has This Been Tested?

  • [x] ./compile.sh build BOARD=nanopi-r6c BRANCH=edge BUILD_DESKTOP=no BUILD_MINIMAL=no EXPERT=yes KERNEL_CONFIGURE=no RELEASE=trixie
  • [ ] Benchmark could be done, but I don't know how I can force a full kernel rebuild without using any caching at all

Checklist:

  • [x] My code follows the style guidelines of this project
  • [x] I have performed a self-review of my own code
  • [x] I have commented my code, particularly in hard-to-understand areas
  • [x] My changes generate no new warnings
  • [x] Any dependent changes have been merged and published in downstream modules

View the full article

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.