2005-05-01 21:18:40

by Jeff Dike

[permalink] [raw]
Subject: [PATCH 13/22] UML - Tidy Makefile.rules

Just some breaking of some overly-long lines.

Signed-off-by: Jeff Dike <[email protected]>

Index: linux-2.6.11-mm/arch/um/scripts/Makefile.rules
===================================================================
--- linux-2.6.11-mm.orig/arch/um/scripts/Makefile.rules 2005-04-30 12:57:43.000000000 -0400
+++ linux-2.6.11-mm/arch/um/scripts/Makefile.rules 2005-04-30 13:09:24.000000000 -0400
@@ -2,12 +2,13 @@
# arch/um: Generic definitions
# ===========================================================================

-USER_SINGLE_OBJS = $(foreach f,$(patsubst %.o,%,$(obj-y) $(obj-m)),$($(f)-objs))
-USER_OBJS += $(filter %_user.o,$(obj-y) $(obj-m) $(USER_SINGLE_OBJS))
-
+USER_SINGLE_OBJS := \
+ $(foreach f,$(patsubst %.o,%,$(obj-y) $(obj-m)),$($(f)-objs))
+USER_OBJS += $(filter %_user.o,$(obj-y) $(obj-m) $(USER_SINGLE_OBJS))
USER_OBJS := $(foreach file,$(USER_OBJS),$(obj)/$(file))

-$(USER_OBJS): c_flags = -Wp,-MD,$(depfile) $(USER_CFLAGS) $(CFLAGS_$(notdir $@))
+$(USER_OBJS) : c_flags = -Wp,-MD,$(depfile) $(USER_CFLAGS) \
+ $(CFLAGS_$(notdir $@))

quiet_cmd_make_link = SYMLINK $@
cmd_make_link = ln -sf $(srctree)/arch/$(SUBARCH)/$($(notdir $@)-dir)/$(notdir $@) $@