From 4d1f7e8bc7516e6b7b15f754af4a665b3f8af79e Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Tue, 28 Feb 2017 22:12:18 +0100 Subject: [PATCH] build: Skip generating .version files when cleaning --- avbuild/library.mak | 2 ++ 1 file changed, 2 insertions(+) diff --git a/avbuild/library.mak b/avbuild/library.mak index be6098c9ff..227e4d5d48 100644 --- a/avbuild/library.mak +++ b/avbuild/library.mak @@ -1,6 +1,8 @@ include $(SRC_PATH)/avbuild/common.mak +ifeq (,$(filter %clean,$(MAKECMDGOALS))) -include $(SUBDIR)lib$(NAME).version +endif LIBVERSION := $(lib$(NAME)_VERSION) LIBMAJOR := $(lib$(NAME)_VERSION_MAJOR)