mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-16 14:28:56 +00:00
Makefile: remove 'clean' when building HV/DM
1. not need 'clean' when building ACRN-HV/DM each time 2. correct efi-stub wrong dependency Tracked-On: #2412 Signed-off-by: Minggui Cao <minggui.cao@intel.com> Reviewed-by: Binbin Wu <binbin.wu@intel.com>
This commit is contained in:
4
devicemodel/Makefile
Normal file → Executable file
4
devicemodel/Makefile
Normal file → Executable file
@@ -221,9 +221,11 @@ $(VERSION_H):
|
||||
echo "#define DM_BUILD_TIME "\""$$TIME"\""" >> $(VERSION_H);\
|
||||
echo "#define DM_BUILD_USER "\""$$USER"\""" >> $(VERSION_H)
|
||||
|
||||
-include $(OBJS:.o=.d)
|
||||
|
||||
$(DM_OBJDIR)/%.o: %.c $(HEADERS)
|
||||
[ ! -e $@ ] && mkdir -p $(dir $@); \
|
||||
$(CC) $(CFLAGS) -c $< -o $@
|
||||
$(CC) $(CFLAGS) -c $< -o $@ -MMD -MT $@
|
||||
|
||||
install: $(DM_OBJDIR)/$(PROGRAM) install-samples-nuc install-samples-mrb install-bios install-samples-up2
|
||||
install -D --mode=0755 $(DM_OBJDIR)/$(PROGRAM) $(DESTDIR)/usr/bin/$(PROGRAM)
|
||||
|
Reference in New Issue
Block a user