mirror of
https://github.com/reactos/reactos.git
synced 2025-02-24 01:15:09 +00:00
[GENINC]
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:
parent
a73299ffde
commit
6e3e947a79
3 changed files with 1348 additions and 0 deletions
1329
reactos/tools/geninc/data.c
Normal file
1329
reactos/tools/geninc/data.c
Normal file
File diff suppressed because it is too large
Load diff
11
reactos/tools/geninc/geninc.c
Normal file
11
reactos/tools/geninc/geninc.c
Normal file
|
@ -0,0 +1,11 @@
|
|||
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
|
||||
|
||||
int main(int argc, char* argv[])
|
||||
{
|
||||
}
|
8
reactos/tools/geninc/geninc.rbuild
Normal file
8
reactos/tools/geninc/geninc.rbuild
Normal 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>
|
Loading…
Reference in a new issue