build: Skip generating .version files when cleaning

This commit is contained in:
Diego Biurrun 2017-02-28 22:12:18 +01:00
parent 58407b4d74
commit 4d1f7e8bc7
1 changed files with 2 additions and 0 deletions

View File

@ -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)