The DT enabled build will fail when trying to reference the legacy init funtions. Fixes: b467c262b5a7 (at91sam9263ek: enable DT support) Signed-off-by: Lucas Stach <l.stach@xxxxxxxxxxxxxx> --- Is this the correct fix? --- arch/arm/boards/at91sam9263ek/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/arch/arm/boards/at91sam9263ek/Makefile b/arch/arm/boards/at91sam9263ek/Makefile index 7af6fab8e108..66083a239e75 100644 --- a/arch/arm/boards/at91sam9263ek/Makefile +++ b/arch/arm/boards/at91sam9263ek/Makefile @@ -1,4 +1,6 @@ -obj-$(CONFIG_AT91_BOOTSTRAP) += init.o +ifeq ($(CONFIG_OFDEVICE),) +obj-y += init.o +endif obj-$(CONFIG_OF_DEVICE) += of_init.o lwl-y += lowlevel_init.o -- 2.16.1 _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox