diff --git a/scripts/mkconfigs b/scripts/mkconfigs index 47ac53330..7488d294e 100755 --- a/scripts/mkconfigs +++ b/scripts/mkconfigs @@ -42,7 +42,7 @@ echo "\ */ static const char bbconfig_config[] ALIGN1 =" -grep '^#\? \?CONFIG_' "$config" \ +grep -e '^# CONFIG_' -e '^CONFIG_' "$config" \ | sed -e 's/\"/\\\"/g' -e 's/^/"/' -e 's/$/\\n"/' echo ";"