aboutsummaryrefslogtreecommitdiff
path: root/scripts/mkconfigs
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/mkconfigs')
-rwxr-xr-xscripts/mkconfigs4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/mkconfigs b/scripts/mkconfigs
index 47ac53330..db94fcc44 100755
--- a/scripts/mkconfigs
+++ b/scripts/mkconfigs
@@ -42,7 +42,7 @@ echo "\
42 */ 42 */
43static const char bbconfig_config[] ALIGN1 =" 43static const char bbconfig_config[] ALIGN1 ="
44 44
45grep '^#\? \?CONFIG_' "$config" \ 45grep -e '^# CONFIG_' -e '^CONFIG_' "$config" \
46| sed -e 's/\"/\\\"/g' -e 's/^/"/' -e 's/$/\\n"/' 46| sed -e 's/\"/\\\"/g' -e 's/^/"/' -e 's/$/\\n"/'
47 47
48echo ";" 48echo ";"
@@ -63,7 +63,7 @@ echo "\
63 */ 63 */
64static const char bbconfig_config_bz2[] ALIGN1 = {" 64static const char bbconfig_config_bz2[] ALIGN1 = {"
65 65
66grep '^#\? \?CONFIG_' "$config" \ 66grep -e '^# CONFIG_' -e '^CONFIG_' "$config" \
67| bzip2 -1 | dd bs=2 skip=1 2>/dev/null \ 67| bzip2 -1 | dd bs=2 skip=1 2>/dev/null \
68| od -v -t x1 \ 68| od -v -t x1 \
69| sed -e 's/^[^ ]*//' \ 69| sed -e 's/^[^ ]*//' \