Package Details: linux-xanmod-lts-headers 6.1.54-1

Git Clone URL: (read-only, click to copy)
Package Base: linux-xanmod-lts
Description: Headers and scripts for building modules for the Linux Xanmod LTS kernel
Upstream URL:
Licenses: GPL2
Submitter: figue
Maintainer: figue (figuepluto, jfigueras)
Last Packager: figue
Votes: 13
Popularity: 0.000001
First Submitted: 2017-11-22 02:00 (UTC)
Last Updated: 2023-09-19 20:04 (UTC)

Pinned Comments

figue commented on 2018-12-15 22:40 (UTC) (edited on 2021-02-23 18:07 (UTC) by figue)

Please, check new release. You have now several variables to enable/disable features.


## The following variables can be customized at build time. Use env or export to change at your wish
##   Example: env _microarchitecture=99 use_numa=n use_tracers=n use_pds=n makepkg -sc
## Look inside '' to choose your microarchitecture
## Valid numbers between: 0 to 99
## Default is: 0 => generic
## Good option if your package is for one machine: 99 => native
if [ -z ${_microarchitecture+x} ]; then

## Disable NUMA since most users do not have multiple processors. Breaks CUDA/NvEnc.
## Archlinux and Xanmod enable it by default.
## Set variable "use_numa" to: n to disable (possibly increase performance)
##                             y to enable  (stock default)
if [ -z ${use_numa+x} ]; then

## For performance you can disable FUNCTION_TRACER/GRAPH_TRACER. Limits debugging and analyzing of the kernel.
## Stock Archlinux and Xanmod have this enabled. 
## Set variable "use_tracers" to: n to disable (possibly increase performance)
##                                y to enable  (stock default)
if [ -z ${use_tracers+x} ]; then

# Compile ONLY used modules to VASTLY reduce the number of modules built
# and the build time.
# To keep track of which modules are needed for your specific system/hardware,
# give module_db script a try:
# This PKGBUILD read the database kept if it exists
# More at this wiki page --->
if [ -z ${_localmodcfg} ]; then

# Tweak kernel options prior to a build via nconfig

Personally I'm running now xanmod kernel compiled with this:

env use_numa=n use_tracers=n makepkg -s

Also, you can now put a file in your local repo to build this package with a custom config. You have to call this file myconfig.


  # Put the file "myconfig" at the package folder (this will take preference) or "${XDG_CONFIG_HOME}/linux-xanmod/myconfig"
  # If we detect partial file with scripts/config commands, we execute as a script
  # If not, it's a full config, will be replaced

Latest Comments

1 2 3 4 5 6 Next › Last »

figue commented on 2023-07-05 19:17 (UTC)

Updated script

Check new microarchitectures supported!

MikeDee commented on 2022-10-24 03:00 (UTC)

Turns out, I needed to have xterm installed. One would think it would have been installed by default.

figue commented on 2022-10-23 09:39 (UTC)

@MikeDee _makenconfig=y opens the ncurses menu interface so you can customize your kernel in the traditional way. It seems you are launching the makepkg from some unknown terminal "Error opening terminal: unknown". If you are using some AUR helper or chroot, probably isn't compatible with nconfig or you are not setting TERM variable in your shell.

MikeDee commented on 2022-10-23 00:44 (UTC)

The package won't build for me:

configuration written to .config

arch/x86/Makefile:179: CONFIG_X86_X32 enabled but no binutils support -> Prepared linux-xanmod-lts version 5.15.72-xanmod1-1-lts UPD scripts/kconfig/nconf-cfg HOSTCC scripts/kconfig/nconf.o HOSTCC scripts/kconfig/nconf.gui.o HOSTLD scripts/kconfig/nconf Error opening terminal: unknown. make[1]: [scripts/kconfig/Makefile:48: nconfig] Error 1 make: [Makefile:619: nconfig] Error 2 ==> ERROR: A failure occurred in prepare(). Aborting...

If _makenconfig=y, then the it fails. If_makenconfig=n, then it works.

enihcam commented on 2022-10-16 15:16 (UTC)

@figue i submitted a request to xanmod owner. it looks like LTS came back for now.

figue commented on 2022-10-16 12:24 (UTC)

@enihcam yes, I see. Let me confirm and, at the end, I'll request package removal.

enihcam commented on 2022-10-16 05:57 (UTC)

@figue, xanmod no longer maintains LTS.

figue commented on 2021-10-09 21:22 (UTC)

@gsus use

or you can export MAKEFLAGS="-j$(nproc)" in your terminal

gsus commented on 2021-10-09 19:58 (UTC)

For some reason the compilation are with one core only (and take a few hours), not with all cores.

I dont remember when this change happens, but I can force all core just to adding "-j12" to make in build() function?


figue commented on 2021-10-07 22:13 (UTC)

@tioguda fixed in 29371a5102f0. I don't know why I merged _compiler option. This branch doesn't have clang config file.