Projecte

General

Perfil

« Anterior | Següent » 

Revisió d37d54e0

Afegit per Roger Pueyo Centelles fa més de 9 anys

Fix #373. Use $(COMMUNITY)_$(VERSION_NUMBER)-$(VERSION_NICK)_$(NAME)_factory/syupgrade_$(TIMESTAMP).bin for precompiled images' filenames

Visualitza les diferències:

Makefile
define post_build
$(eval BRANCH_GIT=$(shell git --git-dir=$(BUILD_DIR)/qmp/.git branch|grep ^*|cut -d " " -f 2))
$(if $(IM_NAME),,$(eval IM_NAME=$(NAME)-$(COMMUNITY)_$(QMP_RELEASE)-factory-$(TIMESTAMP).bin))
$(if $(SIM_NAM),,$(eval SIM_NAME=$(NAME)-$(COMMUNITY)_$(QMP_RELEASE)-sysupgrade-$(TIMESTAMP).bin))
$(if $(IM_NAME),,$(eval IM_NAME=$(COMMUNITY)_$(VERSION_NUMBER)-$(VERSION_NICK)_$(NAME)_factory_$(TIMESTAMP).bin))
$(if $(SIM_NAM),,$(eval SIM_NAME=$(COMMUNITY)_$(VERSION_NUMBER)-$(VERSION_NICK)_$(NAME)_sysupgrade_$(TIMESTAMP).bin))
$(eval COMP=$(shell ls $(BUILD_PATH)/$(IMAGE_PATH) 2>/dev/null | grep -c \\.gz))
mkdir -p $(IMAGES)
-@[ $(COMP) -eq 1 ] && gunzip $(BUILD_PATH)/$(IMAGE_PATH) -c > $(IMAGES)/$(IM_NAME)

També disponible a: Unified diff