aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesper Juhl <jj@chaosbits.net>2012-02-16 16:49:15 -0500
committerJiri Kosina <jkosina@suse.cz>2012-04-05 19:54:49 -0400
commit450c6076a79ebb053cf53e43f948de5ab077c573 (patch)
treed18566e5c15532ed078ffc038cee6c39debde911
parenta03abdcb8e537912c9c44f283747b995d1788d23 (diff)
Makefile: improve line wrapping
Break a few lines that go way over the usual 80 column limit that we prefer. Also adjust the placement of a few line continuations. Signed-off-by: Jesper Juhl <jj@chaosbits.net> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
-rw-r--r--Makefile12
1 files changed, 7 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index e3b23e864a53..34b7006b2c9a 100644
--- a/Makefile
+++ b/Makefile
@@ -400,8 +400,10 @@ export MODVERDIR := $(if $(KBUILD_EXTMOD),$(firstword $(KBUILD_EXTMOD))/).tmp_ve
400 400
401# Files to ignore in find ... statements 401# Files to ignore in find ... statements
402 402
403RCS_FIND_IGNORE := \( -name SCCS -o -name BitKeeper -o -name .svn -o -name CVS -o -name .pc -o -name .hg -o -name .git \) -prune -o 403RCS_FIND_IGNORE := \( -name SCCS -o -name BitKeeper -o -name .svn -o -name CVS \
404export RCS_TAR_IGNORE := --exclude SCCS --exclude BitKeeper --exclude .svn --exclude CVS --exclude .pc --exclude .hg --exclude .git 404 -o -name .pc -o -name .hg -o -name .git \) -prune -o
405export RCS_TAR_IGNORE := --exclude SCCS --exclude BitKeeper --exclude .svn \
406 --exclude CVS --exclude .pc --exclude .hg --exclude .git
405 407
406# =========================================================================== 408# ===========================================================================
407# Rules shared between *config targets and build targets 409# Rules shared between *config targets and build targets
@@ -966,7 +968,7 @@ prepare3: include/config/kernel.release
966ifneq ($(KBUILD_SRC),) 968ifneq ($(KBUILD_SRC),)
967 @$(kecho) ' Using $(srctree) as source for kernel' 969 @$(kecho) ' Using $(srctree) as source for kernel'
968 $(Q)if [ -f $(srctree)/.config -o -d $(srctree)/include/config ]; then \ 970 $(Q)if [ -f $(srctree)/.config -o -d $(srctree)/include/config ]; then \
969 echo " $(srctree) is not clean, please run 'make mrproper'";\ 971 echo " $(srctree) is not clean, please run 'make mrproper'"; \
970 echo " in the '$(srctree)' directory.";\ 972 echo " in the '$(srctree)' directory.";\
971 /bin/false; \ 973 /bin/false; \
972 fi; 974 fi;
@@ -1003,8 +1005,8 @@ define filechk_utsrelease.h
1003endef 1005endef
1004 1006
1005define filechk_version.h 1007define filechk_version.h
1006 (echo \#define LINUX_VERSION_CODE $(shell \ 1008 (echo \#define LINUX_VERSION_CODE $(shell \
1007 expr $(VERSION) \* 65536 + 0$(PATCHLEVEL) \* 256 + 0$(SUBLEVEL)); \ 1009 expr $(VERSION) \* 65536 + 0$(PATCHLEVEL) \* 256 + 0$(SUBLEVEL)); \
1008 echo '#define KERNEL_VERSION(a,b,c) (((a) << 16) + ((b) << 8) + (c))';) 1010 echo '#define KERNEL_VERSION(a,b,c) (((a) << 16) + ((b) << 8) + (c))';)
1009endef 1011endef
1010 1012