[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

compile kernel with specific architecture support

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

Pentium 4 (Intel)
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.

I am unable to determine the debian way to define these switches for
What is the correct method to use for this?
edit debian/rules?
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

Reply to: