Page 1 sur 1

[Kernel] Recompiler en ommetant des flags

Publié : dim. 14 déc. 2014, 21:13
par Arkon
Bonsoir,

Je souhaiterai recompiler mon kernel en ommetant certains flags (tel que VMX pour la virtualisation).

Code : Tout sélectionner

#pacman -S abs base-devel
#ABSROOT=. abs core/linux
#cd core/ && grep VMX *
conf:CONFIG_VMXNET3=m
config.x86_64:CONFIG_VMXNET3=m
Sauriez-vous où modifier les flags s'il vous plaît ?
Merci d'avance et bonne soirée

Re: [Kernel] Recompiler en ommetant des flags

Publié : dim. 14 déc. 2014, 21:48
par Backtoback
Bonsoir,

Je n'y connais vraiment pas grand chose en recompilation de kernel, mais peut etre es tu passé à coté de ces liens, en espérant qu'ils te soient utiles :
According to instructions in the PKGBUILD, makepkg will download the appropriate source tarball, unpack it, patch if desired, compile according to CFLAGS specified in makepkg.conf, and finally compress the built files into a package with the extension .pkg.tar.gz or .pkg.tar.xz.
https://wiki.archlinux.org/index.php/Arch_Build_System

https://wiki.archlinux.org/index.php/Makepkg#MAKEFLAGS

Cordialement

Re: [Kernel] Recompiler en ommetant des flags

Publié : lun. 15 déc. 2014, 09:56
par FoolEcho
@tous: Ce ne sont pas des flags mais des options de configuration (donc rien à voir avec makepkg et les flags pour make et cie)

En te rapportant au wiki (en), https://wiki.archlinux.org/index.php/Ke ... ild_System, il te suffit de modifier les .config fournis selon les options que tu veux. :chinois: