summaryrefslogtreecommitdiff
path: root/extra/Configs
diff options
context:
space:
mode:
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;