On Wed, 29 Apr 2015 13:31:13 +0200, Ralf wrote: > just a short question: I don't like genkernel, I always compile my > kernel manually using menuconfig. > So the CFLAGs of my make.conf won't get applied. > > What is the best way to (persistently) set the CFLAGs for the kernel > compilation? > > - I don't like invoking 'CFLAGS="-O2 -march=foo"make' > - I don't want to set CFLAGS as a persistent environment variable. > - I don't want to modify the kernel Makefile
Use a script #!/bin/sh source /etc/portage/make.conf cd /usr/src/linux make && make modules_install && make install -- Neil Bothwick ... if (pot.coffee == EMPTY) { programmer->brain = OFF };
pgpXPzSeBvRkr.pgp
Description: OpenPGP digital signature