From 973ba5b63f188c3dbfc9ca0028a303e821665707 Mon Sep 17 00:00:00 2001 From: Mingqiang Chi Date: Tue, 6 Aug 2019 11:46:55 +0800 Subject: [PATCH] hv:fix need to make twice in hypervisor folder now the dependency is like this in Makefile: acrn.bin << xxxx.a << xxxx.obj if excute 'make' in hypervsior fold for the first time, it can generate acrn.bin, if excute 'make' for second time, it can not do the final link because there are the same timestamp for acrn.bin and xxxx.a generated by previous build, add PHONY to fix this issue. Tracked-On: #3542 Signed-off-by: Mingqiang Chi Acked-by: Anthony Xu --- hypervisor/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hypervisor/Makefile b/hypervisor/Makefile index 5f6a3ef3e..1af40663d 100644 --- a/hypervisor/Makefile +++ b/hypervisor/Makefile @@ -317,6 +317,8 @@ MODULES += $(LIB_DEBUG) endif MODULES += $(SYS_INIT_MOD) +.PHONY: $(MODULES) + DISTCLEAN_OBJS := $(shell find $(BASEDIR) -name '*.o') VERSION := $(HV_OBJDIR)/include/version.h