Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ARM: realview: fix device tree build

As it happens, two obj-$(CONFIG_FOO) += foo.o variables are
above obj-y := core.o, which doesn't work: the += directives
need to add something to the build and doesn't work if obj-y
is not set first, so move the obj-y to be on top and everything
builds nicely again.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>

authored by

Linus Walleij and committed by
Arnd Bergmann
6551b8c9 6c548099

+1 -2
+1 -2
arch/arm/mach-realview/Makefile
··· 4 4 ccflags-$(CONFIG_ARCH_MULTIPLATFORM) := -I$(srctree)/$(src)/include \ 5 5 -I$(srctree)/arch/arm/plat-versatile/include 6 6 7 - 7 + obj-y := core.o 8 8 obj-$(CONFIG_REALVIEW_DT) += realview-dt.o 9 9 obj-$(CONFIG_SMP) += platsmp-dt.o 10 - obj-y := core.o 11 10 12 11 ifdef CONFIG_ATAGS 13 12 obj-$(CONFIG_MACH_REALVIEW_EB) += realview_eb.o