How to compile a selected subset of xorg?

Dimitry Golubovsky golubovsky at gmail.com
Mon Oct 1 04:42:02 PDT 2007


Hi,

OK, this makes sense (as I looked at git_org.sh)

Now, is it a valid approach just not to download stuff I do not need
by commenting out certain pieces of the script?

For example, I do not need any of the apps for this project. Is it
valid just not to check out apps (also saves a lot of time)?

Or, do I have to download the full tree, but then manipulate with the
build script?

Thanks.

On 9/30/07, Fulko Hew <fulko.hew at gmail.com> wrote:
>
>
>
> On 9/30/07, Dimitry Golubovsky <golubovsky at gmail.com> wrote:
> >
> > I need to compile a very narrow subset of Xorg to use in a diskless X
> > terminal: all I need is basically a framebuffer driver, minimal subset
> > of fonts, just few keyboard layouts, etc. I need all this built as a
> > directories' subtree to copy over to the X-terminal's init ramdisk
> > prototype file tree. Minimal size on disk is the goal: for example, du
> > -bc on  xkb subtree results in ~2.4M of files; I definitely do not
> > need all this.
> >
> > Is this possible to do with modular build? Best of all, if there is a
> > menuconfig-style selection tool, but any editable build config would
> > be OK.
> >
> > Perhaps there may be some toolsets for embedded devices, can anybody
> > provide references?
>
> I was refered to this wiki page when I was trying to build a subset myself.
>
> http://www.x.org/wiki/ModularDevelopersGuide#head-c35264aacf77e77caeca305a1a9a3da3be6e4fa5
>
> I actually started _my_ build exercise using the shell script
> mentioned in that wiki page called: build-from-tarballs.sh
> and picking the parts I wanted while still maintaining the
> correct build order.
>
>


-- 
Dimitry Golubovsky

Anywhere on the Web



More information about the xorg mailing list