diff options
author | Alexander Couzens <lynxis@fe80.eu> | 2016-05-26 15:23:41 +0200 |
---|---|---|
committer | Alexander Couzens <lynxis@fe80.eu> | 2016-06-01 17:54:36 +0200 |
commit | a7d13178f430027ae9073e0a7d3edc2f344bcea6 (patch) | |
tree | 50fdfe59c955823e9569375d803cfbde9fcf864b /include/image.mk | |
parent | 38d845b40502627e85759b74631aecbd4459575b (diff) | |
download | mtk-20170518-a7d13178f430027ae9073e0a7d3edc2f344bcea6.zip mtk-20170518-a7d13178f430027ae9073e0a7d3edc2f344bcea6.tar.gz mtk-20170518-a7d13178f430027ae9073e0a7d3edc2f344bcea6.tar.bz2 |
include: move VERSION_DIST_SANITIZED to version.mk
Also move sanitize function to version.mk
Prepare use of VERSION_DIST_SANITIZED by IB/SDK/toolchain
Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
Diffstat (limited to 'include/image.mk')
-rw-r--r-- | include/image.mk | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/include/image.mk b/include/image.mk index ffa4bb5..365098d 100644 --- a/include/image.mk +++ b/include/image.mk @@ -18,9 +18,6 @@ KDIR=$(KERNEL_BUILD_DIR) KDIR_TMP=$(KDIR)/tmp DTS_DIR:=$(LINUX_DIR)/arch/$(LINUX_KARCH)/boot/dts -sanitize = $(call tolower,$(subst _,-,$(subst $(space),-,$(1)))) - -VERSION_DIST_SANITIZED:=$(call sanitize,$(VERSION_DIST)) EXTRA_NAME_SANITIZED=$(call sanitize,$(EXTRA_IMAGE_NAME)) IMG_PREFIX:=$(VERSION_DIST_SANITIZED)-$(if $(CONFIG_VERSION_FILENAMES),$(VERSION_NUMBER)-)$(if $(EXTRA_NAME_SANITIZED),$(EXTRA_NAME_SANITIZED)-)$(BOARD)$(if $(SUBTARGET),-$(SUBTARGET)) |