aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2007-01-11 17:20:00 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2007-01-11 17:20:00 +0000
commitf7996f3b700a22797565e9aa57e251e6e3ac1e4d (patch)
treeaf4e797eef0a65f4e3dba94b325da0ec08452d36 /Makefile
parent3821fb13ea404d243115ff8ec161273b62826513 (diff)
downloadbusybox-w32-f7996f3b700a22797565e9aa57e251e6e3ac1e4d.tar.gz
busybox-w32-f7996f3b700a22797565e9aa57e251e6e3ac1e4d.tar.bz2
busybox-w32-f7996f3b700a22797565e9aa57e251e6e3ac1e4d.zip
Trailing whitespace removal over entire tree
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile20
1 files changed, 10 insertions, 10 deletions
diff --git a/Makefile b/Makefile
index ca11f1532..e3bf032da 100644
--- a/Makefile
+++ b/Makefile
@@ -71,7 +71,7 @@ endif
71# In both cases the working directory must be the root of the kernel src. 71# In both cases the working directory must be the root of the kernel src.
72# 1) O= 72# 1) O=
73# Use "make O=dir/to/store/output/files/" 73# Use "make O=dir/to/store/output/files/"
74# 74#
75# 2) Set KBUILD_OUTPUT 75# 2) Set KBUILD_OUTPUT
76# Set the environment variable KBUILD_OUTPUT to point to the directory 76# Set the environment variable KBUILD_OUTPUT to point to the directory
77# where the output files shall be placed. 77# where the output files shall be placed.
@@ -145,7 +145,7 @@ export srctree objtree VPATH TOPDIR
145# SUBARCH tells the usermode build what the underlying arch is. That is set 145# SUBARCH tells the usermode build what the underlying arch is. That is set
146# first, and if a usermode build is happening, the "ARCH=um" on the command 146# first, and if a usermode build is happening, the "ARCH=um" on the command
147# line overrides the setting of ARCH below. If a native build is happening, 147# line overrides the setting of ARCH below. If a native build is happening,
148# then ARCH is assigned, getting whatever value it gets normally, and 148# then ARCH is assigned, getting whatever value it gets normally, and
149# SUBARCH is subsequently ignored. 149# SUBARCH is subsequently ignored.
150 150
151SUBARCH := $(shell uname -m | sed -e s/i.86/i386/ -e s/sun4u/sparc64/ \ 151SUBARCH := $(shell uname -m | sed -e s/i.86/i386/ -e s/sun4u/sparc64/ \
@@ -229,7 +229,7 @@ export KBUILD_CHECKSRC KBUILD_SRC KBUILD_EXTMOD
229# cmd_cc_o_c = $(CC) $(c_flags) -c -o $@ $< 229# cmd_cc_o_c = $(CC) $(c_flags) -c -o $@ $<
230# 230#
231# If $(quiet) is empty, the whole command will be printed. 231# If $(quiet) is empty, the whole command will be printed.
232# If it is set to "quiet_", only the short version will be printed. 232# If it is set to "quiet_", only the short version will be printed.
233# If it is set to "silent_", nothing wil be printed at all, since 233# If it is set to "silent_", nothing wil be printed at all, since
234# the variable $(silent_cmd_cc_o_c) doesn't exist. 234# the variable $(silent_cmd_cc_o_c) doesn't exist.
235# 235#
@@ -313,7 +313,7 @@ export VERSION PATCHLEVEL SUBLEVEL KERNELRELEASE KERNELVERSION \
313 HOSTCXX HOSTCXXFLAGS LDFLAGS_MODULE CHECK CHECKFLAGS 313 HOSTCXX HOSTCXXFLAGS LDFLAGS_MODULE CHECK CHECKFLAGS
314 314
315export CPPFLAGS NOSTDINC_FLAGS LINUXINCLUDE OBJCOPYFLAGS LDFLAGS 315export CPPFLAGS NOSTDINC_FLAGS LINUXINCLUDE OBJCOPYFLAGS LDFLAGS
316export CFLAGS CFLAGS_KERNEL CFLAGS_MODULE 316export CFLAGS CFLAGS_KERNEL CFLAGS_MODULE
317export AFLAGS AFLAGS_KERNEL AFLAGS_MODULE 317export AFLAGS AFLAGS_KERNEL AFLAGS_MODULE
318 318
319# When compiling out-of-tree modules, put MODVERDIR in the module 319# When compiling out-of-tree modules, put MODVERDIR in the module
@@ -351,7 +351,7 @@ endif
351# catch them early, and hand them over to scripts/kconfig/Makefile 351# catch them early, and hand them over to scripts/kconfig/Makefile
352# It is allowed to specify more targets when calling make, including 352# It is allowed to specify more targets when calling make, including
353# mixing *config targets and build targets. 353# mixing *config targets and build targets.
354# For example 'make oldconfig all'. 354# For example 'make oldconfig all'.
355# Detect when mixed targets is specified, and make a second invocation 355# Detect when mixed targets is specified, and make a second invocation
356# of make so .config is not included in this case either (for *config). 356# of make so .config is not included in this case either (for *config).
357 357
@@ -567,7 +567,7 @@ quiet_cmd_busybox__ ?= LINK $@
567 -Wl,--start-group $(busybox-all) -Wl,--end-group 567 -Wl,--start-group $(busybox-all) -Wl,--end-group
568 568
569# Generate System.map 569# Generate System.map
570quiet_cmd_sysmap = SYSMAP 570quiet_cmd_sysmap = SYSMAP
571 cmd_sysmap = $(CONFIG_SHELL) $(srctree)/scripts/mksysmap 571 cmd_sysmap = $(CONFIG_SHELL) $(srctree)/scripts/mksysmap
572 572
573# Link of busybox 573# Link of busybox
@@ -623,7 +623,7 @@ endef
623# First command is ':' to allow us to use + in front of this rule 623# First command is ':' to allow us to use + in front of this rule
624cmd_ksym_ld = $(cmd_busybox__) 624cmd_ksym_ld = $(cmd_busybox__)
625define rule_ksym_ld 625define rule_ksym_ld
626 : 626 :
627 +$(call cmd,busybox_version) 627 +$(call cmd,busybox_version)
628 $(call cmd,busybox__) 628 $(call cmd,busybox__)
629 $(Q)echo 'cmd_$@ := $(cmd_busybox__)' > $(@D)/.$(@F).cmd 629 $(Q)echo 'cmd_$@ := $(cmd_busybox__)' > $(@D)/.$(@F).cmd
@@ -674,7 +674,7 @@ busybox: busybox_unstripped
674 $(Q)$(STRIP) -s --remove-section=.note --remove-section=.comment \ 674 $(Q)$(STRIP) -s --remove-section=.note --remove-section=.comment \
675 busybox_unstripped -o $@ 675 busybox_unstripped -o $@
676 676
677# The actual objects are generated when descending, 677# The actual objects are generated when descending,
678# make sure no implicit rule kicks in 678# make sure no implicit rule kicks in
679$(sort $(busybox-all)): $(busybox-dirs) ; 679$(sort $(busybox-all)): $(busybox-dirs) ;
680 680
@@ -707,7 +707,7 @@ _localver = $(foreach f, $(__localver), $(if $(findstring ~, $(f)),,$(f)))
707localver = $(subst $(space),, \ 707localver = $(subst $(space),, \
708 $(shell cat /dev/null $(_localver)) \ 708 $(shell cat /dev/null $(_localver)) \
709 $(patsubst "%",%,$(CONFIG_LOCALVERSION))) 709 $(patsubst "%",%,$(CONFIG_LOCALVERSION)))
710 710
711# If CONFIG_LOCALVERSION_AUTO is set scripts/setlocalversion is called 711# If CONFIG_LOCALVERSION_AUTO is set scripts/setlocalversion is called
712# and if the SCM is know a tag from the SCM is appended. 712# and if the SCM is know a tag from the SCM is appended.
713# The appended tag is determinded by the SCM used. 713# The appended tag is determinded by the SCM used.
@@ -1235,7 +1235,7 @@ endif
1235 $(build)=$(build-dir) $(@:.ko=.o) 1235 $(build)=$(build-dir) $(@:.ko=.o)
1236 $(Q)$(MAKE) -rR -f $(srctree)/scripts/Makefile.modpost 1236 $(Q)$(MAKE) -rR -f $(srctree)/scripts/Makefile.modpost
1237 1237
1238# FIXME Should go into a make.lib or something 1238# FIXME Should go into a make.lib or something
1239# =========================================================================== 1239# ===========================================================================
1240 1240
1241quiet_cmd_rmdirs = $(if $(wildcard $(rm-dirs)),CLEAN $(wildcard $(rm-dirs))) 1241quiet_cmd_rmdirs = $(if $(wildcard $(rm-dirs)),CLEAN $(wildcard $(rm-dirs)))