Re: [PATCH v2 31/76] ARC: Build system: Makefiles, Kconfig, Linker script

From: Arnd Bergmann
Date: Fri Jan 18 2013 - 14:25:33 EST


On Friday 18 January 2013, Sam Ravnborg wrote:
> > +obj-y := arcksyms.o setup.o irq.o time.o reset.o ptrace.o entry.o process.o \
> > + signal.o traps.o sys.o troubleshoot.o stacktrace.o clk.o
>
> For new stuff I usually recommend to drop line continuation using \
>
> Just do the much prettier:
> obj-y := arcksyms.o setup.o irq.o time.o reset.o ptrace.o entry.o process.o
> obj-y += signal.o traps.o sys.o troubleshoot.o stacktrace.o clk.o

Agreed, although we are moving some files to the more verbose

obj-y += arcksyms.o
obj-y += clk.o
obj-y += entry.o
obj-y += ...

and use alphabetical order, both of which help avoid merge conflicts
when Makefile changes come in through separate branches. This
particular Makefile is likely to remain rather stable though, so
it's not necessary to go this far.

Arnd
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/