git.ucc.asn.au
/
tpg
/
acess2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Usermode - More hackery to get glib compiling
[tpg/acess2.git]
/
KernelLand
/
Modules
/
Filesystems
/
InitRD
/
GenerateInitRD.php
diff --git
a/KernelLand/Modules/Filesystems/InitRD/GenerateInitRD.php
b/KernelLand/Modules/Filesystems/InitRD/GenerateInitRD.php
index
3229ef2
..
52377e6
100644
(file)
--- a/
KernelLand/Modules/Filesystems/InitRD/GenerateInitRD.php
+++ b/
KernelLand/Modules/Filesystems/InitRD/GenerateInitRD.php
@@
-12,6
+12,8
@@
$gOutput = <<<EOF
EOF;
EOF;
+define("DEBUG_ENABLED", false);
+
$ACESSDIR = getenv("ACESSDIR");
$ARCH = getenv("ARCH");
$ACESSDIR = getenv("ACESSDIR");
$ARCH = getenv("ARCH");
@@
-143,10
+145,11
@@
EOF;
{
$path = $item[1];
{
$path = $item[1];
- echo $path,"\n";
+ if( DEBUG_ENABLED )
+ echo $path,"\n";
$size = filesize($path);
$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
$gOutput .= "extern Uint8 {$_sym}[];";
$gSymFiles[] = $path;
$gOutput .= <<<EOF
UCC
git Repository :: git.ucc.asn.au