From 9f50455ed6e63f92dfa18767a88ffefc6995c21c Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Mon, 1 Apr 2002 12:51:36 +0000 Subject: Last bit for old config system --- extra/Configs/uClibc_config_fix.pl | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'extra/Configs') 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 = ) { 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; -- cgit v1.2.3