From: Anthony PERARD Date: Tue, 31 Mar 2020 10:30:47 +0000 (+0100) Subject: build,arm: Fix deps check of head.o X-Git-Tag: archive/raspbian/4.14.0+80-gd101b417b7-1+rpi1^2~63^2~466 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=dc0b3eb56b9ce3e2b61f0c7d3af5a98b5a586099;p=xen.git build,arm: Fix deps check of head.o arm*/head.o isn't in obj-y or extra-y, so make don't load the associated .*.d file (or .*.cmd file when if_changed will be used). There is a workaround where .*.d file is added manually into DEPS. Changing DEPS isn't needed, we can simply add head.o into extra-y and the dependency files will be loaded. Signed-off-by: Anthony PERARD Acked-by: Julien Grall --- diff --git a/xen/arch/arm/Makefile b/xen/arch/arm/Makefile index 12f92a4bd3..7273f356f1 100644 --- a/xen/arch/arm/Makefile +++ b/xen/arch/arm/Makefile @@ -62,6 +62,7 @@ obj-$(CONFIG_SBSA_VUART_CONSOLE) += vpl011.o obj-y += vsmc.o obj-y += vpsci.o obj-y += vuart.o +extra-y += $(TARGET_SUBARCH)/head.o #obj-bin-y += ....o @@ -72,8 +73,6 @@ endif ALL_OBJS := $(TARGET_SUBARCH)/head.o $(ALL_OBJS) -DEPS += $(TARGET_SUBARCH)/.head.o.d - ifdef CONFIG_LIVEPATCH all_symbols = --all-symbols ifdef CONFIG_FAST_SYMBOL_LOOKUP