Building kernel for a series of different Intel CPU sub architecture

Registered by Aymeric Mansoux on 2009-10-12

Every time that we reach a good kernel config and binary that works on all x86, it would be nice to provide binaries for sub archictures, like PIII, pentium-m, etc ... How could we do that effectively and without too much hassle?

Blueprint information

Status:
Started
Approver:
None
Priority:
Undefined
Drafter:
None
Direction:
Needs approval
Assignee:
krgn
Definition:
Drafting
Series goal:
None
Implementation:
Needs Infrastructure
Milestone target:
None
Started by
Aymeric Mansoux on 2009-12-21

Related branches

Sprints

Whiteboard

implementing this feature is relatively simple. it involves doing the following steps:

1) sync debian.master & debian with ubuntu kernel git versions
2) cp debian.master/config/$ARCH/config.flavour.generic debian.master/config/$ARCH/config.flavour.$FLAVOUR

...where $FLAVOUR is 'pure' at the moment, but could then become 'pure-core2', 'pure-p3' etc..

3) repeat step 2) for all three architechtures
4) remove all other config.flavour.* for all other arches, as well as the config folders for all un-supported arch'es (sparc, powerpc, etc) as this will save you to go through all their flavour config files during debian.master/rules editconfigs
5) add our flavours to rules.d/$ARCH.mk and remove all other targets (generic, i386, blablabla)
6) add our flavours to the getabi command (need to find out which file exactly) and remove all others
7) done

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.