projects
/
oweals
/
busybox.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Bug fixes.
[oweals/busybox.git]
/
applets
/
busybox.mkll
diff --git
a/applets/busybox.mkll
b/applets/busybox.mkll
index f79462b7f1aae1bd74fb7542e99c91c844f4de91..facb6e8ac2b4a7a9796a7884eea7bac84ae1dc88 100755
(executable)
--- a/
applets/busybox.mkll
+++ b/
applets/busybox.mkll
@@
-7,7
+7,7
@@
MF="busybox.c"
LIST="$(sed -n '/^#define/{s/^#define //p;}' $DF)"
for def in ${LIST}; do
LIST="$(sed -n '/^#define/{s/^#define //p;}' $DF)"
for def in ${LIST}; do
- i=`sed -n 's/^#ifdef
'$def'
.*\/\/\(.*$\)/\/\1\//gp' $MF`
+ i=`sed -n 's/^#ifdef
\<'$def'\>
.*\/\/\(.*$\)/\/\1\//gp' $MF`
j=`sed -n '/^#ifdef '$def'.*/,/^#endif/{ s/.*\"\(.*\)\".*/\1/gp; }' $MF`
for k in $j; do
echo $i$k
j=`sed -n '/^#ifdef '$def'.*/,/^#endif/{ s/.*\"\(.*\)\".*/\1/gp; }' $MF`
for k in $j; do
echo $i$k