tech-x11 archive

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

Re: rebuild only one part of xorg

hi Dominik,

On Tue, Feb 03, 2009 at 03:11:19PM +0100, Dominik Zaczkowski wrote:
> Hi, thank You for reply.
> My build setup was:
> ./ -T /usr/obj/tools -O /usr/obj/obj -D /usr/obj/dist -R ... -x sets
> now when i enter
> /usr/obj/obj/externam/mit/xorg/server/drivers/xf86-video-ati (or any
> other driver)

you don't want to run the tool make from your objdir you want to run it
from the source dir.

I usually use something similar to the following which results in my tools
and objects and destdir all under one path (specified by -M). the examples
below are based on this shown.

cd /usr/src
sh -M /var/obj/i386 -m i386 -x distribution sets

so my sources are in /usr/src
and objects and other products end up in /var/obj/i386

if you want to rebuild the xf86-video-ati with the tools you need to rebuild
from the source dir not the objdir.

cd /usr/src/external/mit/xorg/server/drivers/xf86-video-ati && \
   /var/obj/i386/tooldir.NetBSD-4.0-i386/bin/nbmake-i386 dependall

this will result in the driver and objects ending up in

finally they can be installed to the destdir by running the install
target from the sourcedir.

cd /usr/src/external/mit/xorg/server/drivers/xf86-video-ati && \
   /var/obj/i386/tooldir.NetBSD-4.0-i386/bin/nbmake-i386 install

this will result in the driver being installed to

and of course there are other targets that you can run such as obj, clean
and distclean.


Home | Main Index | Thread Index | Old Index