Jackeagle | 17da796 | 2014-11-28 10:58:59 -0700 | [diff] [blame] | 1 | # Copyright (C) 2016-2018 The BlissOS Project |
| 2 | # |
| 3 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 | # you may not use this file except in compliance with the License. |
| 5 | # You may obtain a copy of the License at |
| 6 | # |
| 7 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 8 | # |
| 9 | # Unless required by applicable law or agreed to in writing, software |
| 10 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 | # See the License for the specific language governing permissions and |
| 13 | # limitations under the License. |
| 14 | |
| 15 | # Bliss Target Zip |
| 16 | BLISS_TARGET_PACKAGE := $(PRODUCT_OUT)/$(BLISS_VERSION).zip |
| 17 | |
Jan Altensen | 12196a1 | 2020-09-11 21:41:08 +0200 | [diff] [blame] | 18 | MD5 := prebuilts/build-tools/path/$(HOST_OS)-x86/md5sum |
| 19 | |
Jackeagle | 17da796 | 2014-11-28 10:58:59 -0700 | [diff] [blame] | 20 | .PHONY: blissify |
| 21 | blissify: $(INTERNAL_OTA_PACKAGE_TARGET) |
| 22 | $(hide) ln -f $(INTERNAL_OTA_PACKAGE_TARGET) $(BLISS_TARGET_PACKAGE) |
Jan Altensen | 12196a1 | 2020-09-11 21:41:08 +0200 | [diff] [blame] | 23 | $(hide) $(MD5) $(BLISS_TARGET_PACKAGE) | sed "s|$(PRODUCT_OUT)/||" > $(BLISS_TARGET_PACKAGE).md5 |
Jackeagle | 17da796 | 2014-11-28 10:58:59 -0700 | [diff] [blame] | 24 | @echo -e ${CL_CYN}""${CL_CYN} |
| 25 | @echo -e ${CL_CYN}" ___ ___ ___ ___ "${CL_CYN} |
| 26 | @echo -e ${CL_CYN}" /\ \ /\__\ ___ /\ \ /\ \ "${CL_CYN} |
| 27 | @echo -e ${CL_CYN}" /::\ \ /:/ / /\ \ /::\ \ /::\ \ "${CL_CYN} |
| 28 | @echo -e ${CL_CYN}" /:/\:\ \ /:/ / \:\ \ /:/\ \ \ /:/\ \ \ "${CL_CYN} |
| 29 | @echo -e ${CL_CYN}" /::\~\:\__\ /:/ / /::\__\ _\:\~\ \ \ _\:\~\ \ \ "${CL_CYN} |
| 30 | @echo -e ${CL_CYN}" /:/\:\ \:\__\ /:/__/ __/:/\/__/ /\ \:\ \ \__\ /\ \:\ \ \__\ "${CL_CYN} |
| 31 | @echo -e ${CL_CYN}" \:\~\:\/:/ / \:\ \ /\/:/ / \:\ \:\ \/__/ \:\ \:\ \/__/ "${CL_CYN} |
| 32 | @echo -e ${CL_CYN}" \:\ \::/ / \:\ \ \::/__/ \:\ \:\__\ \:\ \:\__\ "${CL_CYN} |
| 33 | @echo -e ${CL_CYN}" \:\/:/ / \:\ \ \:\__\ \:\/:/ / \:\/:/ / "${CL_CYN} |
| 34 | @echo -e ${CL_CYN}" \::/__/ \:\__\ \/__/ \::/ / \::/ / "${CL_CYN} |
| 35 | @echo -e ${CL_CYN}" ~~ \/__/ \/__/ \/__/ "${CL_CYN} |
| 36 | @echo -e ${CL_CYN}""${CL_CYN} |
| 37 | @echo -e ${CL_CYN}"===========-Bliss Package Complete-==========="${CL_RST} |
| 38 | @echo -e ${CL_CYN}"Zip: "${CL_MAG} $(BLISS_TARGET_PACKAGE)${CL_RST} |
Eric Park | 32979f9 | 2018-10-25 09:20:49 -0400 | [diff] [blame] | 39 | @echo -e ${CL_CYN}"MD5: "${CL_MAG}" `cat $(BLISS_TARGET_PACKAGE).md5 | cut -d ' ' -f 1`"${CL_RST} |
Jackeagle | 17da796 | 2014-11-28 10:58:59 -0700 | [diff] [blame] | 40 | @echo -e ${CL_CYN}"Size:"${CL_MAG}" `ls -lah $(BLISS_TARGET_PACKAGE) | cut -d ' ' -f 5`"${CL_RST} |
| 41 | @echo -e ${CL_CYN}"==============================================="${CL_RST} |
| 42 | @echo -e ${CL_CYN}"Have A Truly Blissful Experience"${CL_RST} |
| 43 | @echo -e ${CL_CYN}"==============================================="${CL_RST} |
| 44 | @echo -e "" |