summaryrefslogtreecommitdiffstats
path: root/sources/uClibc-Config.awk
diff options
context:
space:
mode:
Diffstat (limited to 'sources/uClibc-Config.awk')
-rw-r--r--sources/uClibc-Config.awk11
1 files changed, 11 insertions, 0 deletions
diff --git a/sources/uClibc-Config.awk b/sources/uClibc-Config.awk
new file mode 100644
index 000000000..c265535a3
--- /dev/null
+++ b/sources/uClibc-Config.awk
@@ -0,0 +1,11 @@
+BEGIN { FS=" =";
+ REG1="DODEBUG|INCLUDE_RPC|DOPIC";
+ REG2="DOLFS";
+}
+{
+ if ($0 ~ "^" REG1)
+ { print $1 " = false" }
+ else if ($0 ~ "^" REG2)
+ { print $1 " = true" }
+ else { print $0 }
+}