Usermode - More hackery to get glib compiling
[tpg/acess2.git] / KernelLand / Modules / Filesystems / InitRD / GenerateInitRD.php
index 3229ef2..52377e6 100644 (file)
@@ -12,6 +12,8 @@ $gOutput = <<<EOF
 
 EOF;
 
+define("DEBUG_ENABLED", false);
+
 $ACESSDIR = getenv("ACESSDIR");
 $ARCH = getenv("ARCH");
 
@@ -143,10 +145,11 @@ EOF;
                {
                        $path = $item[1];
                        
-                       echo $path,"\n";
+                       if( DEBUG_ENABLED )
+                               echo $path,"\n";
                        $size = filesize($path);
        
-                       $_sym = "_binary_".str_replace(array("/","-","."), "_", $path)."_start";
+                       $_sym = "_binary_".str_replace(array("/","-",".","+"), "_", $path)."_start";
                        $gOutput .= "extern Uint8 {$_sym}[];";
                        $gSymFiles[] = $path;
                        $gOutput .= <<<EOF

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