From: Alexander Couzens Date: Thu, 26 May 2016 13:21:54 +0000 (+0200) Subject: include: rename DIST_SANITIZED to VERSION_DIST_SANITZED X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=38d845b40502627e85759b74631aecbd4459575b;p=openwrt%2Fstaging%2Fnbd.git include: rename DIST_SANITIZED to VERSION_DIST_SANITZED All version variables contain VERSION prefix. Signed-off-by: Alexander Couzens --- diff --git a/include/image.mk b/include/image.mk index 49315e5e2b..ffa4bb5ef6 100644 --- a/include/image.mk +++ b/include/image.mk @@ -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