1 |
On Wed, 29 Apr 2015 13:31:13 +0200, Ralf wrote: |
2 |
|
3 |
> just a short question: I don't like genkernel, I always compile my |
4 |
> kernel manually using menuconfig. |
5 |
> So the CFLAGs of my make.conf won't get applied. |
6 |
> |
7 |
> What is the best way to (persistently) set the CFLAGs for the kernel |
8 |
> compilation? |
9 |
> |
10 |
> - I don't like invoking 'CFLAGS="-O2 -march=foo"make' |
11 |
> - I don't want to set CFLAGS as a persistent environment variable. |
12 |
> - I don't want to modify the kernel Makefile |
13 |
|
14 |
Use a script |
15 |
|
16 |
#!/bin/sh |
17 |
source /etc/portage/make.conf |
18 |
cd /usr/src/linux |
19 |
make && make modules_install && make install |
20 |
|
21 |
|
22 |
-- |
23 |
Neil Bothwick |
24 |
|
25 |
... if (pot.coffee == EMPTY) { programmer->brain = OFF }; |