ARM: realview: fix device tree build
authorLinus Walleij <linus.walleij@linaro.org>
Thu, 21 Jan 2016 12:04:47 +0000 (13:04 +0100)
committerArnd Bergmann <arnd@arndb.de>
Thu, 21 Jan 2016 12:16:17 +0000 (13:16 +0100)
commit6551b8c9b76ec3cee1386dbeeab528c019fd732c
tree5d1a6cb8e883d34512c320e49435328172590613
parent6c54809977de3c9e2ef9e9934a2c6625f7e161e7
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>
arch/arm/mach-realview/Makefile