| # Copyright (C) 2016-2018 The BlissOS 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. |
| |
| # Bliss Target Zip |
| BLISS_TARGET_PACKAGE := $(PRODUCT_OUT)/$(BLISS_VERSION).zip |
| |
| MD5 := prebuilts/build-tools/path/$(HOST_OS)-x86/md5sum |
| |
| .PHONY: blissify |
| blissify: $(INTERNAL_OTA_PACKAGE_TARGET) |
| $(hide) ln -f $(INTERNAL_OTA_PACKAGE_TARGET) $(BLISS_TARGET_PACKAGE) |
| $(hide) $(MD5) $(BLISS_TARGET_PACKAGE) | sed "s|$(PRODUCT_OUT)/||" > $(BLISS_TARGET_PACKAGE).md5 |
| @echo -e ${CL_CYN}""${CL_CYN} |
| @echo -e ${CL_CYN}" ___ ___ ___ ___ "${CL_CYN} |
| @echo -e ${CL_CYN}" /\ \ /\__\ ___ /\ \ /\ \ "${CL_CYN} |
| @echo -e ${CL_CYN}" /::\ \ /:/ / /\ \ /::\ \ /::\ \ "${CL_CYN} |
| @echo -e ${CL_CYN}" /:/\:\ \ /:/ / \:\ \ /:/\ \ \ /:/\ \ \ "${CL_CYN} |
| @echo -e ${CL_CYN}" /::\~\:\__\ /:/ / /::\__\ _\:\~\ \ \ _\:\~\ \ \ "${CL_CYN} |
| @echo -e ${CL_CYN}" /:/\:\ \:\__\ /:/__/ __/:/\/__/ /\ \:\ \ \__\ /\ \:\ \ \__\ "${CL_CYN} |
| @echo -e ${CL_CYN}" \:\~\:\/:/ / \:\ \ /\/:/ / \:\ \:\ \/__/ \:\ \:\ \/__/ "${CL_CYN} |
| @echo -e ${CL_CYN}" \:\ \::/ / \:\ \ \::/__/ \:\ \:\__\ \:\ \:\__\ "${CL_CYN} |
| @echo -e ${CL_CYN}" \:\/:/ / \:\ \ \:\__\ \:\/:/ / \:\/:/ / "${CL_CYN} |
| @echo -e ${CL_CYN}" \::/__/ \:\__\ \/__/ \::/ / \::/ / "${CL_CYN} |
| @echo -e ${CL_CYN}" ~~ \/__/ \/__/ \/__/ "${CL_CYN} |
| @echo -e ${CL_CYN}""${CL_CYN} |
| @echo -e ${CL_CYN}"===========-Bliss Package Complete-==========="${CL_RST} |
| @echo -e ${CL_CYN}"Zip: "${CL_MAG} $(BLISS_TARGET_PACKAGE)${CL_RST} |
| @echo -e ${CL_CYN}"MD5: "${CL_MAG}" `cat $(BLISS_TARGET_PACKAGE).md5 | cut -d ' ' -f 1`"${CL_RST} |
| @echo -e ${CL_CYN}"Size:"${CL_MAG}" `ls -lah $(BLISS_TARGET_PACKAGE) | cut -d ' ' -f 5`"${CL_RST} |
| @echo -e ${CL_CYN}"==============================================="${CL_RST} |
| @echo -e ${CL_CYN}"Have A Truly Blissful Experience"${CL_RST} |
| @echo -e ${CL_CYN}"==============================================="${CL_RST} |
| @echo -e "" |