9344e608f6
Adds the full vendor/pawlet tree for PawletOS on Raspberry Pi 4/5: - build/: envsetup.sh helpers (breakfast/brunch/mka), bacon OTA target, Soong namespace, build core hook - config/: common.mk, version.mk, BoardConfigPawlet.mk, BoardConfigSoong.mk, privapp-permissions, me.pawlet.android feature XML - hal/boot_control/rpi/: AIDL boot_control HAL for RPi A/B slot switching - apps/Updater/: A/B OTA updater (download, verify, install, reboot) - apps/PawletPlatform/: platform resource APK (device icons, strings) - overlay/frameworks/base/core/res/: framework config overrides - prebuilt/, vars/: init rc, aosp_target_release
24 lines
840 B
Makefile
24 lines
840 B
Makefile
#
|
|
# Copyright (C) 2012 The CyanogenMod Project
|
|
# Copyright (C) 2017 The LineageOS Project
|
|
# Copyright (C) 2025 oxmc / PawletOS
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
#
|
|
# PawletOS OTA package ("bacon") build target.
|
|
# Adapted from vendor/lineage/build/tasks/bacon.mk (The LineageOS Project).
|
|
# Produces: PawletOS-<version>.zip + .sha256sum
|
|
#
|
|
|
|
PAWLET_TARGET_PACKAGE := $(PRODUCT_OUT)/PawletOS-$(PAWLET_VERSION).zip
|
|
|
|
SHA256 := prebuilts/build-tools/path/$(HOST_PREBUILT_TAG)/sha256sum
|
|
|
|
$(PAWLET_TARGET_PACKAGE): $(INTERNAL_OTA_PACKAGE_TARGET)
|
|
$(hide) ln -f $(INTERNAL_OTA_PACKAGE_TARGET) $(PAWLET_TARGET_PACKAGE)
|
|
$(hide) $(SHA256) $(PAWLET_TARGET_PACKAGE) | sed "s|$(PRODUCT_OUT)/||" > $(PAWLET_TARGET_PACKAGE).sha256sum
|
|
@echo "Package Complete: $(PAWLET_TARGET_PACKAGE)" >&2
|
|
|
|
.PHONY: bacon
|
|
bacon: $(PAWLET_TARGET_PACKAGE) $(DEFAULT_GOAL)
|