This is going to be a host tool that autogenerates assembly definitions from the target headers. This is done in two steps: 1) a raw data file is compiled with the target compiler using the target headers 2) The host tool parses this data file and creates an appropriate .h or .inc file.
So far there's only the source for the data file, which is halfway complete and currently compiled as bootloader type, as we don't seem to have raw binary target.
WIP

svn path=/trunk/; revision=44748
This commit is contained in:
Timo Kreuzer 2009-12-24 03:45:21 +00:00
parent a73299ffde
commit 6e3e947a79
3 changed files with 1348 additions and 0 deletions

1329
reactos/tools/geninc/data.c Normal file

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,11 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
int main(int argc, char* argv[])
{
}

View file

@ -0,0 +1,8 @@
<?xml version="1.0"?>
<!DOCTYPE module SYSTEM "../../tools/rbuild/project.dtd">
<module name="geninc" type="buildtool">
<file>geninc.c</file>
</module>
<module name="geninc_data" type="bootloader" installname="geninc_data.bin">
<file>data.c</file>
</module>