tools: acrn-crashlog: exclude crashlog tool for release version
This patch is to exclude crashlog tool for release version.
Acked-by: Zhang Di
@@ -2,7 +2,11 @@ T := $(CURDIR)
OUT_DIR ?= $(shell mkdir -p $(T)/build;cd $(T)/build;pwd)
.PHONY: all acrn-crashlog acrnlog acrn-manager acrntrace acrnbridge
+ifeq ($(RELEASE),0)
all: acrn-crashlog acrnlog acrn-manager acrntrace acrnbridge
+else
+all: acrnlog acrn-manager acrntrace acrnbridge
+endif
acrn-crashlog:
make -C $(T)/acrn-crashlog OUT_DIR=$(OUT_DIR) RELEASE=$(RELEASE)
@@ -28,7 +32,11 @@ clean:
rm -rf $(OUT_DIR)
.PHONY: install
+ifeq ($(RELEASE),0)
install: acrn-crashlog-install acrnlog-install acrn-manager-install acrntrace-install acrnbridge-install
+else
+install: acrnlog-install acrn-manager-install acrntrace-install acrnbridge-install
+endif
acrn-crashlog-install:
make -C $(T)/acrn-crashlog OUT_DIR=$(OUT_DIR) install
