summaryrefslogtreecommitdiff
path: root/extra/Configs
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2002-04-01 12:51:36 +0000
committerEric Andersen <andersen@codepoet.org>2002-04-01 12:51:36 +0000
commit9f50455ed6e63f92dfa18767a88ffefc6995c21c (patch)
tree8cd239b866c07c953e6a82077e26f11c98aebdc2 /extra/Configs
parent3d9e386284bcc1e3599046d348a4b905ce5005c4 (diff)
Last bit for old config system
Diffstat (limited to 'extra/Configs')
-rwxr-xr-xextra/Configs/uClibc_config_fix.pl7
1 files changed, 7 insertions, 0 deletions
diff --git a/extra/Configs/uClibc_config_fix.pl b/extra/Configs/uClibc_config_fix.pl
index 14e12aae1..efefa3781 100755
--- a/extra/Configs/uClibc_config_fix.pl
+++ b/extra/Configs/uClibc_config_fix.pl
@@ -39,6 +39,7 @@ my($arch) = "";
my($cross) = "";
my($xcc) = "";
my($native_cc) = "";
+my($debug) = "";
my($mmu) = "";
my($large_file) = "";
my($rpc_support) = "";
@@ -63,6 +64,7 @@ Getopt::Long::Configure("no_ignore_case", "bundling");
"native_cc=s" => \$native_cc,
"devel_prefix=s" => \$devel_prefix,
"kernel_dir=s" => \$kernel_dir,
+ "debug=s" => \$debug,
"mmu=s" => \$mmu,
"large_file=s" => \$large_file,
"rpc_support=s" => \$rpc_support,
@@ -81,6 +83,7 @@ chomp($xcc);
chomp($native_cc);
chomp($devel_prefix);
chomp($kernel_dir);
+chomp($debug);
chomp($mmu);
chomp($large_file);
chomp($rpc_support);
@@ -127,6 +130,10 @@ while($line = <FILE>) {
print "KERNEL_SOURCE=$kernel_dir\n";
next;
}
+ if ($debug && $line =~ /^DODEBUG.*/) {
+ print "DODEBUG=$debug\n";
+ next;
+ }
if ($mmu && $line =~ /^HAS_MMU.*/) {
print "HAS_MMU=$mmu\n";
next;