aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.m@jp.panasonic.com>2014-04-28 03:26:18 -0400
committerMichal Marek <mmarek@suse.cz>2014-04-30 11:34:32 -0400
commit38385f8f0180322513a6350234737fbc02172d06 (patch)
treef6ede8e57818723084cdd25ec27a8645642306ae
parent9319f4539c18ada539d37a1b4398c636b877c027 (diff)
kbuild: trivial - remove trailing spaces
Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com> Signed-off-by: Michal Marek <mmarek@suse.cz>
-rw-r--r--Makefile8
-rw-r--r--scripts/Makefile.build4
-rw-r--r--scripts/Makefile.fwinst2
-rw-r--r--scripts/Makefile.host2
-rw-r--r--scripts/Makefile.lib10
-rw-r--r--scripts/conmakehash.c12
-rw-r--r--scripts/kconfig/streamline_config.pl2
-rwxr-xr-xscripts/mkcompile_h4
-rw-r--r--scripts/package/builddeb2
-rwxr-xr-xscripts/patch-kernel4
10 files changed, 25 insertions, 25 deletions
diff --git a/Makefile b/Makefile
index c7381ed4b690..1571fdfaf154 100644
--- a/Makefile
+++ b/Makefile
@@ -162,7 +162,7 @@ export srctree objtree VPATH
162# SUBARCH tells the usermode build what the underlying arch is. That is set 162# SUBARCH tells the usermode build what the underlying arch is. That is set
163# first, and if a usermode build is happening, the "ARCH=um" on the command 163# first, and if a usermode build is happening, the "ARCH=um" on the command
164# line overrides the setting of ARCH below. If a native build is happening, 164# line overrides the setting of ARCH below. If a native build is happening,
165# then ARCH is assigned, getting whatever value it gets normally, and 165# then ARCH is assigned, getting whatever value it gets normally, and
166# SUBARCH is subsequently ignored. 166# SUBARCH is subsequently ignored.
167 167
168SUBARCH := $(shell uname -m | sed -e s/i.86/x86/ -e s/x86_64/x86/ \ 168SUBARCH := $(shell uname -m | sed -e s/i.86/x86/ -e s/x86_64/x86/ \
@@ -290,7 +290,7 @@ export KBUILD_CHECKSRC KBUILD_SRC KBUILD_EXTMOD
290# cmd_cc_o_c = $(CC) $(c_flags) -c -o $@ $< 290# cmd_cc_o_c = $(CC) $(c_flags) -c -o $@ $<
291# 291#
292# If $(quiet) is empty, the whole command will be printed. 292# If $(quiet) is empty, the whole command will be printed.
293# If it is set to "quiet_", only the short version will be printed. 293# If it is set to "quiet_", only the short version will be printed.
294# If it is set to "silent_", nothing will be printed at all, since 294# If it is set to "silent_", nothing will be printed at all, since
295# the variable $(silent_cmd_cc_o_c) doesn't exist. 295# the variable $(silent_cmd_cc_o_c) doesn't exist.
296# 296#
@@ -869,7 +869,7 @@ ifdef CONFIG_BUILD_DOCSRC
869endif 869endif
870 +$(call if_changed,link-vmlinux) 870 +$(call if_changed,link-vmlinux)
871 871
872# The actual objects are generated when descending, 872# The actual objects are generated when descending,
873# make sure no implicit rule kicks in 873# make sure no implicit rule kicks in
874$(sort $(vmlinux-deps)): $(vmlinux-dirs) ; 874$(sort $(vmlinux-deps)): $(vmlinux-dirs) ;
875 875
@@ -1484,7 +1484,7 @@ endif
1484 $(build)=$(build-dir) $(@:.ko=.o) 1484 $(build)=$(build-dir) $(@:.ko=.o)
1485 $(Q)$(MAKE) -f $(srctree)/scripts/Makefile.modpost 1485 $(Q)$(MAKE) -f $(srctree)/scripts/Makefile.modpost
1486 1486
1487# FIXME Should go into a make.lib or something 1487# FIXME Should go into a make.lib or something
1488# =========================================================================== 1488# ===========================================================================
1489 1489
1490quiet_cmd_rmdirs = $(if $(wildcard $(rm-dirs)),CLEAN $(wildcard $(rm-dirs))) 1490quiet_cmd_rmdirs = $(if $(wildcard $(rm-dirs)),CLEAN $(wildcard $(rm-dirs)))
diff --git a/scripts/Makefile.build b/scripts/Makefile.build
index b5e02b669469..bf3e6778cd71 100644
--- a/scripts/Makefile.build
+++ b/scripts/Makefile.build
@@ -281,7 +281,7 @@ $(real-objs-m) : modkern_aflags := $(KBUILD_AFLAGS_MODULE) $(AFLAGS_MODULE)
281$(real-objs-m:.o=.s): modkern_aflags := $(KBUILD_AFLAGS_MODULE) $(AFLAGS_MODULE) 281$(real-objs-m:.o=.s): modkern_aflags := $(KBUILD_AFLAGS_MODULE) $(AFLAGS_MODULE)
282 282
283quiet_cmd_as_s_S = CPP $(quiet_modtag) $@ 283quiet_cmd_as_s_S = CPP $(quiet_modtag) $@
284cmd_as_s_S = $(CPP) $(a_flags) -o $@ $< 284cmd_as_s_S = $(CPP) $(a_flags) -o $@ $<
285 285
286$(obj)/%.s: $(src)/%.S FORCE 286$(obj)/%.s: $(src)/%.S FORCE
287 $(call if_changed_dep,as_s_S) 287 $(call if_changed_dep,as_s_S)
@@ -375,7 +375,7 @@ link_multi_deps = \
375$(filter $(addprefix $(obj)/, \ 375$(filter $(addprefix $(obj)/, \
376$($(subst $(obj)/,,$(@:.o=-objs))) \ 376$($(subst $(obj)/,,$(@:.o=-objs))) \
377$($(subst $(obj)/,,$(@:.o=-y)))), $^) 377$($(subst $(obj)/,,$(@:.o=-y)))), $^)
378 378
379quiet_cmd_link_multi-y = LD $@ 379quiet_cmd_link_multi-y = LD $@
380cmd_link_multi-y = $(LD) $(ld_flags) -r -o $@ $(link_multi_deps) $(cmd_secanalysis) 380cmd_link_multi-y = $(LD) $(ld_flags) -r -o $@ $(link_multi_deps) $(cmd_secanalysis)
381 381
diff --git a/scripts/Makefile.fwinst b/scripts/Makefile.fwinst
index 4d908d16c035..2c1d69c4345c 100644
--- a/scripts/Makefile.fwinst
+++ b/scripts/Makefile.fwinst
@@ -18,7 +18,7 @@ include $(srctree)/$(obj)/Makefile
18include scripts/Makefile.host 18include scripts/Makefile.host
19 19
20mod-fw := $(fw-shipped-m) 20mod-fw := $(fw-shipped-m)
21# If CONFIG_FIRMWARE_IN_KERNEL isn't set, then install the 21# If CONFIG_FIRMWARE_IN_KERNEL isn't set, then install the
22# firmware for in-kernel drivers too. 22# firmware for in-kernel drivers too.
23ifndef CONFIG_FIRMWARE_IN_KERNEL 23ifndef CONFIG_FIRMWARE_IN_KERNEL
24mod-fw += $(fw-shipped-y) 24mod-fw += $(fw-shipped-y)
diff --git a/scripts/Makefile.host b/scripts/Makefile.host
index 1ac414fd5030..0f0d6ba87e42 100644
--- a/scripts/Makefile.host
+++ b/scripts/Makefile.host
@@ -166,5 +166,5 @@ $(host-cshlib): $(obj)/%: $(host-cshobjs) FORCE
166 $(call if_changed,host-cshlib) 166 $(call if_changed,host-cshlib)
167 167
168targets += $(host-csingle) $(host-cmulti) $(host-cobjs)\ 168targets += $(host-csingle) $(host-cmulti) $(host-cobjs)\
169 $(host-cxxmulti) $(host-cxxobjs) $(host-cshlib) $(host-cshobjs) 169 $(host-cxxmulti) $(host-cxxobjs) $(host-cshlib) $(host-cshobjs)
170 170
diff --git a/scripts/Makefile.lib b/scripts/Makefile.lib
index 6a5b0decb797..260bf8acfce9 100644
--- a/scripts/Makefile.lib
+++ b/scripts/Makefile.lib
@@ -27,7 +27,7 @@ lib-y := $(filter-out $(obj-y), $(sort $(lib-y) $(lib-m)))
27# --------------------------------------------------------------------------- 27# ---------------------------------------------------------------------------
28# o if we encounter foo/ in $(obj-y), replace it by foo/built-in.o 28# o if we encounter foo/ in $(obj-y), replace it by foo/built-in.o
29# and add the directory to the list of dirs to descend into: $(subdir-y) 29# and add the directory to the list of dirs to descend into: $(subdir-y)
30# o if we encounter foo/ in $(obj-m), remove it from $(obj-m) 30# o if we encounter foo/ in $(obj-m), remove it from $(obj-m)
31# and add the directory to the list of dirs to descend into: $(subdir-m) 31# and add the directory to the list of dirs to descend into: $(subdir-m)
32 32
33# Determine modorder. 33# Determine modorder.
@@ -46,7 +46,7 @@ obj-m := $(filter-out %/, $(obj-m))
46 46
47subdir-ym := $(sort $(subdir-y) $(subdir-m)) 47subdir-ym := $(sort $(subdir-y) $(subdir-m))
48 48
49# if $(foo-objs) exists, foo.o is a composite object 49# if $(foo-objs) exists, foo.o is a composite object
50multi-used-y := $(sort $(foreach m,$(obj-y), $(if $(strip $($(m:.o=-objs)) $($(m:.o=-y))), $(m)))) 50multi-used-y := $(sort $(foreach m,$(obj-y), $(if $(strip $($(m:.o=-objs)) $($(m:.o=-y))), $(m))))
51multi-used-m := $(sort $(foreach m,$(obj-m), $(if $(strip $($(m:.o=-objs)) $($(m:.o=-y))), $(m)))) 51multi-used-m := $(sort $(foreach m,$(obj-m), $(if $(strip $($(m:.o=-objs)) $($(m:.o=-y))), $(m))))
52multi-used := $(multi-used-y) $(multi-used-m) 52multi-used := $(multi-used-y) $(multi-used-m)
@@ -91,7 +91,7 @@ obj-dirs := $(addprefix $(obj)/,$(obj-dirs))
91 91
92# These flags are needed for modversions and compiling, so we define them here 92# These flags are needed for modversions and compiling, so we define them here
93# already 93# already
94# $(modname_flags) #defines KBUILD_MODNAME as the name of the module it will 94# $(modname_flags) #defines KBUILD_MODNAME as the name of the module it will
95# end up in (or would, if it gets compiled in) 95# end up in (or would, if it gets compiled in)
96# Note: Files that end up in two or more modules are compiled without the 96# Note: Files that end up in two or more modules are compiled without the
97# KBUILD_MODNAME definition. The reason is that any made-up name would 97# KBUILD_MODNAME definition. The reason is that any made-up name would
@@ -212,7 +212,7 @@ $(obj)/%: $(src)/%_shipped
212 212
213# Commands useful for building a boot image 213# Commands useful for building a boot image
214# =========================================================================== 214# ===========================================================================
215# 215#
216# Use as following: 216# Use as following:
217# 217#
218# target: source(s) FORCE 218# target: source(s) FORCE
@@ -226,7 +226,7 @@ $(obj)/%: $(src)/%_shipped
226 226
227quiet_cmd_ld = LD $@ 227quiet_cmd_ld = LD $@
228cmd_ld = $(LD) $(LDFLAGS) $(ldflags-y) $(LDFLAGS_$(@F)) \ 228cmd_ld = $(LD) $(LDFLAGS) $(ldflags-y) $(LDFLAGS_$(@F)) \
229 $(filter-out FORCE,$^) -o $@ 229 $(filter-out FORCE,$^) -o $@
230 230
231# Objcopy 231# Objcopy
232# --------------------------------------------------------------------------- 232# ---------------------------------------------------------------------------
diff --git a/scripts/conmakehash.c b/scripts/conmakehash.c
index 263a44d57fa9..61bbda54cf13 100644
--- a/scripts/conmakehash.c
+++ b/scripts/conmakehash.c
@@ -104,7 +104,7 @@ int main(int argc, char *argv[])
104 } 104 }
105 } 105 }
106 106
107 /* For now we assume the default font is always 256 characters. */ 107 /* For now we assume the default font is always 256 characters. */
108 fontlen = 256; 108 fontlen = 256;
109 109
110 /* Initialize table */ 110 /* Initialize table */
@@ -236,15 +236,15 @@ int main(int argc, char *argv[])
236 } 236 }
237 237
238 /* Okay, we hit EOF, now output hash table */ 238 /* Okay, we hit EOF, now output hash table */
239 239
240 fclose(ctbl); 240 fclose(ctbl);
241 241
242 242
243 /* Compute total size of Unicode list */ 243 /* Compute total size of Unicode list */
244 nuni = 0; 244 nuni = 0;
245 for ( i = 0 ; i < fontlen ; i++ ) 245 for ( i = 0 ; i < fontlen ; i++ )
246 nuni += unicount[i]; 246 nuni += unicount[i];
247 247
248 printf("\ 248 printf("\
249/*\n\ 249/*\n\
250 * Do not edit this file; it was automatically generated by\n\ 250 * Do not edit this file; it was automatically generated by\n\
@@ -268,9 +268,9 @@ u8 dfont_unicount[%d] = \n\
268 else 268 else
269 printf(", "); 269 printf(", ");
270 } 270 }
271 271
272 printf("\nu16 dfont_unitable[%d] = \n{\n\t", nuni); 272 printf("\nu16 dfont_unitable[%d] = \n{\n\t", nuni);
273 273
274 fp0 = 0; 274 fp0 = 0;
275 nent = 0; 275 nent = 0;
276 for ( i = 0 ; i < nuni ; i++ ) 276 for ( i = 0 ; i < nuni ; i++ )
diff --git a/scripts/kconfig/streamline_config.pl b/scripts/kconfig/streamline_config.pl
index 31331723e810..9cb8522d8d22 100644
--- a/scripts/kconfig/streamline_config.pl
+++ b/scripts/kconfig/streamline_config.pl
@@ -589,7 +589,7 @@ while ($repeat) {
589 589
590 # Now we need to see if we have to check selects; 590 # Now we need to see if we have to check selects;
591 loop_select; 591 loop_select;
592} 592}
593 593
594my %setconfigs; 594my %setconfigs;
595 595
diff --git a/scripts/mkcompile_h b/scripts/mkcompile_h
index cfb8440cc0b2..6fdc97ef6023 100755
--- a/scripts/mkcompile_h
+++ b/scripts/mkcompile_h
@@ -68,7 +68,7 @@ UTS_TRUNCATE="cut -b -$UTS_LEN"
68 68
69( echo /\* This file is auto generated, version $VERSION \*/ 69( echo /\* This file is auto generated, version $VERSION \*/
70 if [ -n "$CONFIG_FLAGS" ] ; then echo "/* $CONFIG_FLAGS */"; fi 70 if [ -n "$CONFIG_FLAGS" ] ; then echo "/* $CONFIG_FLAGS */"; fi
71 71
72 echo \#define UTS_MACHINE \"$ARCH\" 72 echo \#define UTS_MACHINE \"$ARCH\"
73 73
74 echo \#define UTS_VERSION \"`echo $UTS_VERSION | $UTS_TRUNCATE`\" 74 echo \#define UTS_VERSION \"`echo $UTS_VERSION | $UTS_TRUNCATE`\"
@@ -84,7 +84,7 @@ UTS_TRUNCATE="cut -b -$UTS_LEN"
84# recompilations. 84# recompilations.
85# We don't consider the file changed if only the date/time changed. 85# We don't consider the file changed if only the date/time changed.
86# A kernel config change will increase the generation number, thus 86# A kernel config change will increase the generation number, thus
87# causing compile.h to be updated (including date/time) due to the 87# causing compile.h to be updated (including date/time) due to the
88# changed comment in the 88# changed comment in the
89# first line. 89# first line.
90 90
diff --git a/scripts/package/builddeb b/scripts/package/builddeb
index f46e4dd0558d..b151b63f9be3 100644
--- a/scripts/package/builddeb
+++ b/scripts/package/builddeb
@@ -130,7 +130,7 @@ if [ "$ARCH" = "um" ] ; then
130 cp System.map "$tmpdir/usr/lib/uml/modules/$version/System.map" 130 cp System.map "$tmpdir/usr/lib/uml/modules/$version/System.map"
131 cp $KCONFIG_CONFIG "$tmpdir/usr/share/doc/$packagename/config" 131 cp $KCONFIG_CONFIG "$tmpdir/usr/share/doc/$packagename/config"
132 gzip "$tmpdir/usr/share/doc/$packagename/config" 132 gzip "$tmpdir/usr/share/doc/$packagename/config"
133else 133else
134 cp System.map "$tmpdir/boot/System.map-$version" 134 cp System.map "$tmpdir/boot/System.map-$version"
135 cp $KCONFIG_CONFIG "$tmpdir/boot/config-$version" 135 cp $KCONFIG_CONFIG "$tmpdir/boot/config-$version"
136fi 136fi
diff --git a/scripts/patch-kernel b/scripts/patch-kernel
index d000ea3a41fd..49b4241e814a 100755
--- a/scripts/patch-kernel
+++ b/scripts/patch-kernel
@@ -27,7 +27,7 @@
27# Nick Holloway <Nick.Holloway@alfie.demon.co.uk>, 2nd January 1995. 27# Nick Holloway <Nick.Holloway@alfie.demon.co.uk>, 2nd January 1995.
28# 28#
29# Added support for handling multiple types of compression. What includes 29# Added support for handling multiple types of compression. What includes
30# gzip, bzip, bzip2, zip, compress, and plaintext. 30# gzip, bzip, bzip2, zip, compress, and plaintext.
31# 31#
32# Adam Sulmicki <adam@cfar.umd.edu>, 1st January 1997. 32# Adam Sulmicki <adam@cfar.umd.edu>, 1st January 1997.
33# 33#
@@ -159,7 +159,7 @@ applyPatch () {
159 fi 159 fi
160 # Remove backup files 160 # Remove backup files
161 find $sourcedir/ '(' -name '*.orig' -o -name '.*.orig' ')' -exec rm -f {} \; 161 find $sourcedir/ '(' -name '*.orig' -o -name '.*.orig' ')' -exec rm -f {} \;
162 162
163 return 0; 163 return 0;
164} 164}
165 165