On Saturday 27 July 2013, Russell King - ARM Linux wrote:
On Fri, Jul 26, 2013 at 05:11:08PM -0600, Jason Gunthorpe wrote:
quoted
On Fri, Jul 26, 2013 at 11:59:00PM +0200, Domenico Andreoli wrote:
Anyway, there's a simpler solutions to this:
machdirs := $(patsubst %,arch/arm/mach-%/,$(sort $(machine-y)))
platdirs := $(patsubst %,arch/arm/plat-%/,$(Sort $(plat-y)))
which will remove all duplicates.
This does sound like the easiest solution, although I still think
Olof's suggestion of making ARCH_BCM a silent Kconfig symbol would be
just as good if we just have this one instance.
Arnd