vendor: tasks: Add updatepackage target
Change-Id: If1fe461bfc1eea2c759073d3ab0d48b77024cf88
This commit is contained in:
parent
2d7eb8d7c9
commit
995388722d
1 changed files with 34 additions and 0 deletions
34
build/tasks/updatepackage.mk
Normal file
34
build/tasks/updatepackage.mk
Normal file
|
@ -0,0 +1,34 @@
|
|||
# Copyright (C) 2017 Unlegacy-Android
|
||||
# Copyright (C) 2017 The LineageOS Project
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
# -----------------------------------------------------------------
|
||||
# tequila fastboot update package
|
||||
|
||||
TEQUILA_TARGET_UPDATEPACKAGE := $(PRODUCT_OUT)/teq-$(TEQUILA_VERSION)-fastboot.zip
|
||||
|
||||
.PHONY: updatepackage
|
||||
updatepackage: $(INTERNAL_UPDATE_PACKAGE_TARGET)
|
||||
$(hide) ln -f $(INTERNAL_UPDATE_PACKAGE_TARGET) $(TEQUILA_TARGET_UPDATEPACKAGE)
|
||||
# $(hide) $(SHA256) $(TEQUILA_TARGET_UPDATEPACKAGE) | sed "s|$(PRODUCT_OUT)/||" > $(TEQUILA_TARGET_UPDATEPACKAGE).sha256sum
|
||||
@echo -e " "
|
||||
@echo -e " __ ____ ____ _____ "
|
||||
@echo -e " / /____ ________ __/_/ /_____/ __ \/ ___/ "
|
||||
@echo -e " / __/ _ \/ __ / / / / / / __ / / / /\__ \ "
|
||||
@echo -e " / /_/ __/ /_/ / /_/ / / / /_/ / /_/ /___/ / "
|
||||
@echo -e " \__/\___/\__ /\____/_/_/\____/\____//____/ "
|
||||
@echo -e " /_/ "
|
||||
@echo -e " "
|
||||
@echo -e "Package: $(TEQUILA_TARGET_UPDATEPACKAGE)" >&2
|
||||
@echo -e "Checksum: `cat $(TEQUILA_TARGET_UPDATEPACKAGE).sha256sum | awk '{ print $$1 }'`"
|
Loading…
Reference in a new issue