[LEDE-DEV] [PATCH v2 1/4] include: rename DIST_SANITIZED to VERSION_DIST_SANITZED

Jo-Philipp Wich jo at mein.io
Thu May 26 07:49:10 PDT 2016


On 05/26/2016 04:39 PM, Alexander Couzens wrote:
> All version variables contain VERSION prefix.
> 
> Signed-off-by: Alexander Couzens <lynxis at fe80.eu>
Acked-by: Jo-Philipp Wich <jo at mein.io>
> ---
>  include/image.mk | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/include/image.mk b/include/image.mk
> index fbb3a01..3955962 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
>  
> 




More information about the Lede-dev mailing list