hv:fix a bug for building debug/release lib

there is a build error if we only build debug/release library
because missing the build/modules folder

Tracked-On: #1842
Signed-off-by: Mingqiang Chi <mingqiang.chi@intel.com>

	modified:   Makefile
	modified:   debug/Makefile
	modified:   release/Makefile
This commit is contained in:
Mingqiang Chi
2019-06-25 14:28:00 +08:00
committed by ACRN System Integration
parent 7176e813ed
commit 7e6ff2a176
3 changed files with 3 additions and 3 deletions

View File

@@ -21,5 +21,5 @@ clean:
-include $(OBJS:.o=.d)
$(HV_OBJDIR)/%.o: %.c
[ ! -e $@ ] && mkdir -p $(dir $@); \
[ ! -e $@ ] && mkdir -p $(dir $@) && mkdir -p $(HV_MODDIR); \
$(CC) $(patsubst %, -I%, $(INCLUDE_PATH)) -I. -c $(CFLAGS) $(ARCH_CFLAGS) $< -o $@ -MMD -MT $@