projects
/
oweals
/
busybox.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ash: builtin: Mark more regular built-ins
[oweals/busybox.git]
/
scripts
/
mkconfigs
diff --git
a/scripts/mkconfigs
b/scripts/mkconfigs
index 7488d294e64ac7192593f00a42f35cdc8dfc0ee1..6a26fe1dd226d010e5d079103c7df1291d32bda9 100755
(executable)
--- a/
scripts/mkconfigs
+++ b/
scripts/mkconfigs
@@
-63,13
+63,13
@@
echo "\
*/
static const char bbconfig_config_bz2[] ALIGN1 = {"
*/
static const char bbconfig_config_bz2[] ALIGN1 = {"
-grep
'^#\? \?
CONFIG_' "$config" \
+grep
-e '^# CONFIG_' -e '^
CONFIG_' "$config" \
| bzip2 -1 | dd bs=2 skip=1 2>/dev/null \
| bzip2 -1 | dd bs=2 skip=1 2>/dev/null \
-| od -v -
t x1
\
+| od -v -
b
\
| sed -e 's/^[^ ]*//' \
-e 's/ //g' \
-e '/^$/d' \
| sed -e 's/^[^ ]*//' \
-e 's/ //g' \
-e '/^$/d' \
- -e 's/\(..
\)/0x
\1,/g'
+ -e 's/\(..
.\)/0
\1,/g'
echo "};"
echo "#endif"
echo "};"
echo "#endif"