AcessNative - Add userland build to makefile
authorJohn Hodge (sonata) <[email protected]>
Fri, 7 Nov 2014 02:51:03 +0000 (10:51 +0800)
committerJohn Hodge (sonata) <[email protected]>
Fri, 7 Nov 2014 02:51:03 +0000 (10:51 +0800)
AcessNative/Makefile
AcessNative/libacess-native.so_src/main.c

index c7090be..8d5d6c4 100644 (file)
@@ -1,7 +1,10 @@
 
 .PHONY: all clean
 
+V ?= @
+
 all clean:
        @$(MAKE) -C acesskernel_src $@
        @$(MAKE) -C ld-acess_src $@
-       @$(MAKE) -C libacess-native.so_src $@
+       @$(MAKE) -C libacess-native.so_src $@   
+       @$(MAKE) -C .. $@-user ARCH=native V=$(V)
index 7f62545..d1e8684 100644 (file)
@@ -10,6 +10,8 @@
 #include <stdint.h>
 #include "../ld-acess_src/exports.h"
 
+extern int     gbSyscallDebugEnabled;
+
 #ifdef __WINDOWS__
 int DllMain(void)
 {
@@ -40,6 +42,8 @@ int libacessnative_init(int argc, char *argv[], char **envp)
 {
        Request_Preinit();
        
+       //gbSyscallDebugEnabled = 1;
+       
        const char *preopens = getenv_p(envp, ENV_VAR_PREOPENS);
        printf("preopens = %s\n", preopens);
        if( preopens )

UCC git Repository :: git.ucc.asn.au