Re: [PATCH 06/10] ARM: realview: enable multiplatform

From: Linus Walleij
Date: Thu Dec 10 2015 - 05:04:39 EST


On Wed, Nov 25, 2015 at 5:32 PM, Arnd Bergmann <arnd@xxxxxxxx> wrote:

> All obstacles are out of the way by now, so we can finally move realview
> to multiplatform.
>
> Signed-off-by: Arnd Bergmann <arnd@xxxxxxxx>
> Acked-by: Linus Walleij <linus.walleij@xxxxxxxxxx>
> Cc: Russell King <linux@xxxxxxxxxxxxxxxx>
(...)

> -obj-y := core.o
> obj-$(CONFIG_REALVIEW_DT) += realview-dt.o
> +ifdef $(CONFIG_ATAGS)
> +obj-y := core.o
> obj-$(CONFIG_MACH_REALVIEW_EB) += realview_eb.o
> obj-$(CONFIG_MACH_REALVIEW_PB11MP) += realview_pb11mp.o
> obj-$(CONFIG_MACH_REALVIEW_PB1176) += realview_pb1176.o
> obj-$(CONFIG_MACH_REALVIEW_PBA8) += realview_pba8.o
> obj-$(CONFIG_MACH_REALVIEW_PBX) += realview_pbx.o
> +endif

This isn't working. Even if CONFIG_ATAGS is set, none of the files
inside this ifdef $(CONFIG_ATAGS) are compiled. Does Kconfig
only support if and not ifdef?

I just removed it to get things to compile. (But sadly it doesn't
boot...)

Yours,
Linus Walleij
--
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/