Debian Developers - compile kernel with specific architecture support

This is Interesting: Free IT Magazines  
Home > Archive > Debian Developers > April 2004 > compile kernel with specific architecture support





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author compile kernel with specific architecture support
Lucas Albers

2004-04-07, 7:35 pm

I am trying to compile a kernel with optimized support for a particular
machine architecture.
In my case a pentium4 system.

Pentium 4 (Intel)
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer"
CXXFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer"


I have a list of safe GCC switches from this location.
http://www.reviewedinfo.org/howtos/...ng/safe-cflags/

I am unable to determine the debian way to define these switches for
make-kpkg
What is the correct method to use for this?
edit debian/rules?
dpkg-architecture?
edit Makefile?

I researched this a lot to no avail.
and yes I know how to compile a kernel, and use make-kpkg.
Thank you.

--
--Luke CS Sysadmin, Montana State University-Bozeman


--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2009 webservertalk.com