blob: af7f2c59611d58cda31f875ae0dfe4655d0b4f1b [file] [log] [blame]
Jackeagle17da7962014-11-28 10:58:59 -07001# 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
Jackeagle5e95a0d2021-11-10 15:35:12 +010016BLISS_TARGET_PACKAGE := $(PRODUCT_OUT)/$(BLISS_BUILD_ZIP).zip
Jackeagle17da7962014-11-28 10:58:59 -070017
Jan Altensen12196a12020-09-11 21:41:08 +020018MD5 := prebuilts/build-tools/path/$(HOST_OS)-x86/md5sum
19
Jackeagle17da7962014-11-28 10:58:59 -070020.PHONY: blissify
21blissify: $(INTERNAL_OTA_PACKAGE_TARGET)
22 $(hide) ln -f $(INTERNAL_OTA_PACKAGE_TARGET) $(BLISS_TARGET_PACKAGE)
Jan Altensen12196a12020-09-11 21:41:08 +020023 $(hide) $(MD5) $(BLISS_TARGET_PACKAGE) | sed "s|$(PRODUCT_OUT)/||" > $(BLISS_TARGET_PACKAGE).md5
Jackeagle17da7962014-11-28 10:58:59 -070024 @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 Park32979f92018-10-25 09:20:49 -040039 @echo -e ${CL_CYN}"MD5: "${CL_MAG}" `cat $(BLISS_TARGET_PACKAGE).md5 | cut -d ' ' -f 1`"${CL_RST}
Jackeagle17da7962014-11-28 10:58:59 -070040 @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 ""