Arm: fix build with CONFIG_DTB_FILE set
authorJan Beulich <jbeulich@suse.com>
Thu, 7 May 2020 11:18:24 +0000 (13:18 +0200)
committerJan Beulich <jbeulich@suse.com>
Thu, 7 May 2020 11:18:24 +0000 (13:18 +0200)
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 <jbeulich@suse.com>
Acked-by: Julien Grall <jgrall@amazon.com>
xen/arch/arm/Makefile

index b79ad55646bd4d78828e9a8bde25f6457ddd072a..c1a1b5e803632e1ce23020b69056406e4758f280 100644 (file)
@@ -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)