include: rename DIST_SANITIZED to VERSION_DIST_SANITZED
authorAlexander Couzens <lynxis@fe80.eu>
Thu, 26 May 2016 13:21:54 +0000 (15:21 +0200)
committerAlexander Couzens <lynxis@fe80.eu>
Wed, 1 Jun 2016 15:54:36 +0000 (17:54 +0200)
All version variables contain VERSION prefix.

Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
include/image.mk

index 49315e5e2b9dcddb2a1cc5fa8bd6d096c66784b5..ffa4bb5ef60f6f925dfbc77795c35a1b85aad066 100644 (file)
@@ -20,10 +20,10 @@ DTS_DIR:=$(LINUX_DIR)/arch/$(LINUX_KARCH)/boot/dts
 
 sanitize = $(call tolower,$(subst _,-,$(subst $(space),-,$(1))))
 
-DIST_SANITIZED:=$(call sanitize,$(VERSION_DIST))
+VERSION_DIST_SANITIZED:=$(call sanitize,$(VERSION_DIST))
 EXTRA_NAME_SANITIZED=$(call sanitize,$(EXTRA_IMAGE_NAME))
 
-IMG_PREFIX:=$(DIST_SANITIZED)-$(if $(CONFIG_VERSION_FILENAMES),$(VERSION_NUMBER)-)$(if $(EXTRA_NAME_SANITIZED),$(EXTRA_NAME_SANITIZED)-)$(BOARD)$(if $(SUBTARGET),-$(SUBTARGET))
+IMG_PREFIX:=$(VERSION_DIST_SANITIZED)-$(if $(CONFIG_VERSION_FILENAMES),$(VERSION_NUMBER)-)$(if $(EXTRA_NAME_SANITIZED),$(EXTRA_NAME_SANITIZED)-)$(BOARD)$(if $(SUBTARGET),-$(SUBTARGET))
 
 MKFS_DEVTABLE_OPT := -D $(INCLUDE_DIR)/device_table.txt