mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-23 17:58:30 +00:00
HV:Acrn-hypvervisor Root Directory Clean-up and create misc/ folder for Acrn daemons, services and tools.
This patch is to clean-up acrn-hypervisor root directory, targt only 5 folders under acrn-hypervisor:1.hypervisor,2.devicemodel,3.misc,4.doc,5.build Tracked-On: #3482 Signed-off-by: Terry Zou <terry.zou@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
This commit is contained in:
23
misc/tools/acrn-crashlog/common/Makefile
Normal file
23
misc/tools/acrn-crashlog/common/Makefile
Normal file
@@ -0,0 +1,23 @@
|
||||
objects = log_sys.o \
|
||||
strutils.o \
|
||||
cmdutils.o \
|
||||
fsutils.o
|
||||
|
||||
all: check_obj $(objects)
|
||||
check_obj:
|
||||
@if [ ! -d $(BUILDDIR)/common/obj ]; then \
|
||||
mkdir -p $(BUILDDIR)/common/obj/; \
|
||||
fi
|
||||
|
||||
$(objects):%.o:%.c
|
||||
$(CC) -c $(CFLAGS) $(INCLUDE) $< -o $(BUILDDIR)/common/obj/$@
|
||||
|
||||
.PHONY:clean
|
||||
clean:
|
||||
@echo "Clean objects and binaries"
|
||||
@if [ -d $(BUILDDIR)/common/obj ]; then \
|
||||
find $(BUILDDIR)/common/obj -name "*.o" -exec $(RM) {} \; 2>&1 || exit 0; \
|
||||
fi
|
||||
@if [ -d $(BUILDDIR)/common/obj ]; then \
|
||||
$(RM) -r $(BUILDDIR)/common/obj ; \
|
||||
fi
|
Reference in New Issue
Block a user