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
38 lines
1.8 KiB
Makefile
38 lines
1.8 KiB
Makefile
#
|
|
# Copyright (C) 2025 oxmc / PawletOS
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
#
|
|
# Common board-level config inherited by every PawletOS device.
|
|
# Include from each device's BoardConfig.mk:
|
|
# include vendor/pawlet/config/BoardConfigPawlet.mk
|
|
#
|
|
|
|
# ---------------------------------------------------------------------------
|
|
# Partition sizes shared across RPi boards
|
|
# (AB_OTA_UPDATER / AB_OTA_PARTITIONS live in config/common.mk — they are
|
|
# product variables, not board variables)
|
|
# (individual devices may override these)
|
|
# ---------------------------------------------------------------------------
|
|
BOARD_BOOTIMAGE_PARTITION_SIZE := 134217728 # 128 MB
|
|
BOARD_RECOVERYIMAGE_PARTITION_SIZE := 134217728 # 128 MB — set if TWRP present
|
|
BOARD_METADATAIMAGE_PARTITION_SIZE := 67108864 # 64 MB — A/B snapshot metadata
|
|
BOARD_MISCIMAGE_PARTITION_SIZE := 4194304 # 4 MB — A/B slot tracking
|
|
|
|
# ---------------------------------------------------------------------------
|
|
# update_engine / Virtual A/B
|
|
# RPi does not support Virtual A/B (no dynamic partitions),
|
|
# so disable snapshot compression.
|
|
# ---------------------------------------------------------------------------
|
|
BOARD_USES_RECOVERY_AS_BOOT := false
|
|
|
|
# ---------------------------------------------------------------------------
|
|
# Soong config vars (must come after partition vars are set)
|
|
# ---------------------------------------------------------------------------
|
|
include vendor/pawlet/config/BoardConfigSoong.mk
|
|
|
|
# ---------------------------------------------------------------------------
|
|
# SELinux — permissive during bring-up; tighten once policies are audited
|
|
# ---------------------------------------------------------------------------
|
|
# (kept in device BoardConfig.mk so individual devices can override)
|