diff options
| author | Denys Vlasenko <vda.linux@googlemail.com> | 2010-07-26 01:49:12 +0200 |
|---|---|---|
| committer | Denys Vlasenko <vda.linux@googlemail.com> | 2010-07-26 01:49:12 +0200 |
| commit | ba2dcccd799963ac74ee92300df494947820608b (patch) | |
| tree | e27140083f1f4faebe86cde97a3dabbff5ac7f9e /scripts | |
| parent | 0f8960542f6f5ae258e72e56ba7296a01a9c10af (diff) | |
| download | busybox-w32-ba2dcccd799963ac74ee92300df494947820608b.tar.gz busybox-w32-ba2dcccd799963ac74ee92300df494947820608b.tar.bz2 busybox-w32-ba2dcccd799963ac74ee92300df494947820608b.zip | |
*: trailing empty lines removed
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/Makefile.host | 1 | ||||
| -rw-r--r-- | scripts/Makefile.lib | 2 | ||||
| -rw-r--r-- | scripts/basic/docproc.c | 1 | ||||
| -rwxr-xr-x | scripts/find_stray_empty_lines | 10 | ||||
| -rwxr-xr-x | scripts/kconfig/check.sh | 1 | ||||
| -rw-r--r-- | scripts/kconfig/lex.zconf.c_shipped | 1 | ||||
| -rw-r--r-- | scripts/kconfig/menu.c | 1 | ||||
| -rw-r--r-- | scripts/kconfig/util.c | 1 | ||||
| -rw-r--r-- | scripts/kconfig/zconf.hash.c_shipped | 1 | ||||
| -rw-r--r-- | scripts/kconfig/zconf.tab.c_shipped | 2 | ||||
| -rwxr-xr-x | scripts/showasm | 1 |
11 files changed, 10 insertions, 12 deletions
diff --git a/scripts/Makefile.host b/scripts/Makefile.host index 23bd9ff10..2e628508d 100644 --- a/scripts/Makefile.host +++ b/scripts/Makefile.host | |||
| @@ -153,4 +153,3 @@ $(host-cshlib): %: $(host-cshobjs) FORCE | |||
| 153 | 153 | ||
| 154 | targets += $(host-csingle) $(host-cmulti) $(host-cobjs)\ | 154 | targets += $(host-csingle) $(host-cmulti) $(host-cobjs)\ |
| 155 | $(host-cxxmulti) $(host-cxxobjs) $(host-cshlib) $(host-cshobjs) | 155 | $(host-cxxmulti) $(host-cxxobjs) $(host-cshlib) $(host-cshobjs) |
| 156 | |||
diff --git a/scripts/Makefile.lib b/scripts/Makefile.lib index be679b624..3e54ea712 100644 --- a/scripts/Makefile.lib +++ b/scripts/Makefile.lib | |||
| @@ -168,5 +168,3 @@ cmd_objcopy = $(OBJCOPY) $(OBJCOPYFLAGS) $(OBJCOPYFLAGS_$(@F)) $< $@ | |||
| 168 | 168 | ||
| 169 | quiet_cmd_gzip = GZIP $@ | 169 | quiet_cmd_gzip = GZIP $@ |
| 170 | cmd_gzip = gzip -f -9 < $< > $@ | 170 | cmd_gzip = gzip -f -9 < $< > $@ |
| 171 | |||
| 172 | |||
diff --git a/scripts/basic/docproc.c b/scripts/basic/docproc.c index 50ef37157..db30019d8 100644 --- a/scripts/basic/docproc.c +++ b/scripts/basic/docproc.c | |||
| @@ -397,4 +397,3 @@ int main(int argc, char **argv) | |||
| 397 | fflush(stdout); | 397 | fflush(stdout); |
| 398 | return exitstatus; | 398 | return exitstatus; |
| 399 | } | 399 | } |
| 400 | |||
diff --git a/scripts/find_stray_empty_lines b/scripts/find_stray_empty_lines index 58daf2f0c..60873dac1 100755 --- a/scripts/find_stray_empty_lines +++ b/scripts/find_stray_empty_lines | |||
| @@ -5,3 +5,13 @@ grep -n -A1 -r $'^\t*{$' . | grep -B1 '.[ch]-[0-9]*-$' | |||
| 5 | # or (less surefire ones): | 5 | # or (less surefire ones): |
| 6 | grep -n -B1 -r $'^\t*}' . | grep -A1 '.[ch]-[0-9]*-$' | 6 | grep -n -B1 -r $'^\t*}' . | grep -A1 '.[ch]-[0-9]*-$' |
| 7 | grep -n -A1 -r $'^\t*{' . | grep -B1 '.[ch]-[0-9]*-$' | 7 | grep -n -A1 -r $'^\t*{' . | grep -B1 '.[ch]-[0-9]*-$' |
| 8 | |||
| 9 | # find trailing empty lines | ||
| 10 | find -type f | xargs tail -1 | while read file; do | ||
| 11 | test x"$file" = x"" && continue | ||
| 12 | read lastline | ||
| 13 | #echo "|$file|$lastline" | ||
| 14 | if test x"$lastline" = x""; then | ||
| 15 | echo "$file" | ||
| 16 | fi | ||
| 17 | done | ||
diff --git a/scripts/kconfig/check.sh b/scripts/kconfig/check.sh index fa59cbf9d..15fc29421 100755 --- a/scripts/kconfig/check.sh +++ b/scripts/kconfig/check.sh | |||
| @@ -11,4 +11,3 @@ EOF | |||
| 11 | if [ ! "$?" -eq "0" ]; then | 11 | if [ ! "$?" -eq "0" ]; then |
| 12 | echo -DKBUILD_NO_NLS; | 12 | echo -DKBUILD_NO_NLS; |
| 13 | fi | 13 | fi |
| 14 | |||
diff --git a/scripts/kconfig/lex.zconf.c_shipped b/scripts/kconfig/lex.zconf.c_shipped index 5fc323de3..4837bbf64 100644 --- a/scripts/kconfig/lex.zconf.c_shipped +++ b/scripts/kconfig/lex.zconf.c_shipped | |||
| @@ -2322,4 +2322,3 @@ char *zconf_curname(void) | |||
| 2322 | { | 2322 | { |
| 2323 | return current_pos.file ? current_pos.file->name : "<none>"; | 2323 | return current_pos.file ? current_pos.file->name : "<none>"; |
| 2324 | } | 2324 | } |
| 2325 | |||
diff --git a/scripts/kconfig/menu.c b/scripts/kconfig/menu.c index 0fce20cb7..14cf2ead0 100644 --- a/scripts/kconfig/menu.c +++ b/scripts/kconfig/menu.c | |||
| @@ -394,4 +394,3 @@ struct menu *menu_get_parent_menu(struct menu *menu) | |||
| 394 | } | 394 | } |
| 395 | return menu; | 395 | return menu; |
| 396 | } | 396 | } |
| 397 | |||
diff --git a/scripts/kconfig/util.c b/scripts/kconfig/util.c index ef4c83228..263091945 100644 --- a/scripts/kconfig/util.c +++ b/scripts/kconfig/util.c | |||
| @@ -112,4 +112,3 @@ const char *str_get(struct gstr *gs) | |||
| 112 | { | 112 | { |
| 113 | return gs->s; | 113 | return gs->s; |
| 114 | } | 114 | } |
| 115 | |||
diff --git a/scripts/kconfig/zconf.hash.c_shipped b/scripts/kconfig/zconf.hash.c_shipped index 345f0fc07..d39cf189a 100644 --- a/scripts/kconfig/zconf.hash.c_shipped +++ b/scripts/kconfig/zconf.hash.c_shipped | |||
| @@ -228,4 +228,3 @@ kconf_id_lookup (register const char *str, register unsigned int len) | |||
| 228 | } | 228 | } |
| 229 | return 0; | 229 | return 0; |
| 230 | } | 230 | } |
| 231 | |||
diff --git a/scripts/kconfig/zconf.tab.c_shipped b/scripts/kconfig/zconf.tab.c_shipped index b62724da0..a27d256d6 100644 --- a/scripts/kconfig/zconf.tab.c_shipped +++ b/scripts/kconfig/zconf.tab.c_shipped | |||
| @@ -2169,5 +2169,3 @@ void zconfdump(FILE *out) | |||
| 2169 | #include "expr.c" | 2169 | #include "expr.c" |
| 2170 | #include "symbol.c" | 2170 | #include "symbol.c" |
| 2171 | #include "menu.c" | 2171 | #include "menu.c" |
| 2172 | |||
| 2173 | |||
diff --git a/scripts/showasm b/scripts/showasm index 046442653..dc2cd705d 100755 --- a/scripts/showasm +++ b/scripts/showasm | |||
| @@ -18,4 +18,3 @@ then | |||
| 18 | fi | 18 | fi |
| 19 | 19 | ||
| 20 | objdump -d $1 | sed -n -e '/./{H;$!d}' -e "x;/^.[0-9a-fA-F]* <$2>:/p" | 20 | objdump -d $1 | sed -n -e '/./{H;$!d}' -e "x;/^.[0-9a-fA-F]* <$2>:/p" |
| 21 | |||
