1 |
-----BEGIN PGP SIGNED MESSAGE----- |
2 |
Hash: SHA1 |
3 |
|
4 |
On 10/24/13 12:58, Adam Carter wrote: |
5 |
> The CFLAGs used when building the kernel are set in the Makefile; # |
6 |
> grep HOSTCFLAGS /usr/src/linux/Makefile HOSTCFLAGS = -Wall |
7 |
> -Wmissing-prototypes -Wstrict-prototypes -O2 -fomit-frame-pointer |
8 |
> |
9 |
> To build with other flags you set CFLAGS_KERNEL, so i've added a |
10 |
> suitable -march to the standard ones for my system; export |
11 |
> CFLAGS_KERNEL=" -Wall -Wmissing-prototypes -Wstrict-prototypes -O2 |
12 |
> -fomit-frame-pointer -pipe -march=amdfam10" |
13 |
> |
14 |
> then make, install, reboot. In my case the riced kernel is the same |
15 |
> size as the regular one, but the md5 is different. Its been up for |
16 |
> an hour with no obvious issues, and does seem snappier, but of |
17 |
> course my brain is full of cognitive bias. Has anyone else played |
18 |
> with this? Any good or bad outcomes? |
19 |
> |
20 |
I was thinking of compiling The Kernel with custom cflags, but never |
21 |
tried. Looking forward to your report. |
22 |
-----BEGIN PGP SIGNATURE----- |
23 |
Version: GnuPG v2.0.20 (GNU/Linux) |
24 |
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ |
25 |
|
26 |
iQEcBAEBAgAGBQJSaQkgAAoJEK64IL1uI2ha6/UH/RHCDZSaarmnx9by7YSk39RQ |
27 |
mtsqQTP/SMaXWj05qiwfL6FRnX+OZqUwC8tWIS2hqNN0y+s8p8LN2nnRR3NPbfA/ |
28 |
ZEeZuZKahNv1XXo9VyuvjEsVEwNp7YOYKJgPt02ucbvp/+NELPJvBSeBsjAQ/2g7 |
29 |
fe60i5M7ms074ADqSjuS5gaH2JGSzINwBZB82OcjEXH7uV8muU/+vDkEIYonJt60 |
30 |
OkoP+qEqWgpPqF2K6MiUXakY3sgP9IDEj4JiQAYSNppa+xxB3eiYyCxQJB3DVSGh |
31 |
US3ofLiq+9LG9+f36VLy1IQOM0gJYWEV5AxmRKaoWwWByKTosJGvqUXlIIG2gas= |
32 |
=aYgY |
33 |
-----END PGP SIGNATURE----- |