Added patches to implement ntoskrnl driver testing framework.

This commit is contained in:
Sebastian Lackner
2015-01-23 06:14:02 +01:00
parent 1d5798b7d0
commit 29bbba1e0f
9 changed files with 1568 additions and 13 deletions

View File

@@ -11,14 +11,12 @@ diff --git a/tools/makedep.c b/tools/makedep.c
index 54aab45..d68bc03 100644
--- a/tools/makedep.c
+++ b/tools/makedep.c
@@ -161,6 +161,7 @@ struct makefile
const char *top_src_dir;
@@ -162,4 +162,5 @@ struct makefile
const char *top_obj_dir;
const char *parent_dir;
+ const char *parent_spec;
const char *module;
const char *testdll;
const char *staticlib;
@@ -2081,7 +2082,13 @@ static struct strarray output_sources( struct makefile *make, struct strarray *t
char *spec_file = NULL;
@@ -34,14 +32,12 @@ index 54aab45..d68bc03 100644
for (i = 0; i < make->delayimports.count; i++)
strarray_add( &all_libs, strmake( "-l%s", make->delayimports.str[i] ));
for (i = 0; i < make->imports.count; i++)
@@ -2597,6 +2604,7 @@ static void update_makefile( const char *path )
strarray_set_value( &make->vars, "srcdir", src_dir_path( make, "" ));
@@ -2598,4 +2605,5 @@ static void update_makefile( const char *path )
make->parent_dir = get_expanded_make_variable( make, "PARENTSRC" );
+ make->parent_spec = get_expanded_make_variable( make, "PARENTSPEC" );
make->module = get_expanded_make_variable( make, "MODULE" );
make->testdll = get_expanded_make_variable( make, "TESTDLL" );
make->staticlib = get_expanded_make_variable( make, "STATICLIB" );
--
2.1.3