André Pinela | f3a4230 | 2017-01-22 12:51:01 +0000 | [diff] [blame] | 1 | # Copyright (C) 2017 Unlegacy-Android |
| 2 | # Copyright (C) 2017 The LineageOS Project |
| 3 | # |
| 4 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | # you may not use this file except in compliance with the License. |
| 6 | # You may obtain a copy of the License at |
| 7 | # |
| 8 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | # |
| 10 | # Unless required by applicable law or agreed to in writing, software |
| 11 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | # See the License for the specific language governing permissions and |
| 14 | # limitations under the License. |
| 15 | |
| 16 | # ----------------------------------------------------------------- |
| 17 | # Lineage OTA update package |
| 18 | |
| 19 | LINEAGE_TARGET_PACKAGE := $(PRODUCT_OUT)/lineage-$(LINEAGE_VERSION).zip |
| 20 | |
| 21 | .PHONY: bacon |
| 22 | bacon: $(INTERNAL_OTA_PACKAGE_TARGET) |
| 23 | $(hide) ln -f $(INTERNAL_OTA_PACKAGE_TARGET) $(LINEAGE_TARGET_PACKAGE) |
| 24 | $(hide) $(MD5SUM) $(LINEAGE_TARGET_PACKAGE) | sed "s|$(PRODUCT_OUT)/||" > $(LINEAGE_TARGET_PACKAGE).md5sum |
| 25 | @echo "Package Complete: $(LINEAGE_TARGET_PACKAGE)" >&2 |