New development system - build external stuff

All development related issues welcome

Moderator: Moderator Team

Post Reply
Posts: 25
Joined: Tue Dec 21, 2004 3:56 am
Location: Italy

New development system - build external stuff

Post by sherpya » Mon May 30, 2005 1:24 am

I was building a boovid replacement as kernel dll instead of kernel driver,
and my directory was outside the build system. I was using this makefile:

Code: Select all

HOST = mingw32-linux
PATH_TO_TOP = /root/winpe/reactos
TARGET_BASE = 0x80010000
TARGET_NAME = bootvid
MAIN_OBJECTS = bootvid.o pixelsup_i386.o
include $(PATH_TO_TOP)/rules.mak
include $(TOOLS_PATH)/
include $(PATH_TO_TOP)/tools/
there is a simple way to do this with new build system? I've tried to reuse boovid stuff but it always build bootvid as in real subdir

I've tried using:

Code: Select all

<module name="bootvid" type="kernelmodedll">
        <include base="bootvid">.</include>
as boovid.xml

Code: Select all

TOP = ../reactos

DEFAULT = bootvid
include $(TOP)/proxy.mak
as makefile
any suggestion?

Posts: 499
Joined: Mon Nov 22, 2004 10:50 pm
Location: The Netherlands

Post by GvG » Mon May 30, 2005 9:55 am

I don't think there's a simple way to build outside the tree, but I don't understand why you want to do that. You could e.g. create a new directory "extra" in your top-level "reactos" directory and put your project there. Then add a reference to your .xml file in the reactos.xml file in the top-level directory

Dr. Fred
Posts: 607
Joined: Wed Dec 22, 2004 10:09 pm
Location: Amsterdam

Post by Dr. Fred » Mon May 30, 2005 11:07 am

Did you try to inseret
<xi:include href="../yourdir/yourmakefile.xml" />
into ReactOs.xml?
Where do you want ReactOS to go today ?

Posts: 25
Joined: Tue Dec 21, 2004 3:56 am
Location: Italy

Post by sherpya » Tue May 31, 2005 3:41 am

I've understood a bit the system now I have a working build, anyway with the old build system this stuff was less "invasive" I was not modifing any ros file.
another strange thing is that now kernelmodedll needs to have a DriverProcedure that also is not used (at least in my case), I'll make more tests.
In any case my stuff is located here: ...
(old build system), it's a drop in replacement for windows bootvid dll to make possibile using different boot images without hacking MS copyrighted files.

Posts: 25
Joined: Tue Dec 21, 2004 3:56 am
Location: Italy

Post by sherpya » Tue May 31, 2005 10:00 am

I'm working on it and now it can load png images, I think the mod could be easly adapted to the reactos bootvid driver, if someone is intrested I could make a patch (currently some files from libpng and zlib are needed), but zlib are yet in reactos so files can be reused

Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests