From: Jan Beulich Date: Thu, 7 May 2020 11:18:24 +0000 (+0200) Subject: Arm: fix build with CONFIG_DTB_FILE set X-Git-Tag: archive/raspbian/4.14.0+80-gd101b417b7-1+rpi1^2~63^2~297 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=40675b4b874cb9fee0d4f0e12bb3e153ee1c135a;p=xen.git Arm: fix build with CONFIG_DTB_FILE set Recent changes no longer allow modification of AFLAGS. The needed conversion was apparently missed in 2740d96efdd3 ("xen/build: have the root Makefile generates the CFLAGS"). Signed-off-by: Jan Beulich Acked-by: Julien Grall --- diff --git a/xen/arch/arm/Makefile b/xen/arch/arm/Makefile index b79ad55646..c1a1b5e803 100644 --- a/xen/arch/arm/Makefile +++ b/xen/arch/arm/Makefile @@ -68,7 +68,7 @@ extra-y += $(TARGET_SUBARCH)/head.o ifdef CONFIG_DTB_FILE obj-y += dtb.o -AFLAGS += -DCONFIG_DTB_FILE=\"$(CONFIG_DTB_FILE)\" +AFLAGS-y += -DCONFIG_DTB_FILE=\"$(CONFIG_DTB_FILE)\" endif ALL_OBJS := $(TARGET_SUBARCH)/head.o $(ALL_OBJS)