45 lines
1.9 KiB
Makefile
45 lines
1.9 KiB
Makefile
#
|
|
# Copyright (C) 2025-2026 oxmc / PawletOS
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
#
|
|
# RPi-specific product config. Include from each RPi device's device.mk
|
|
# AFTER inheriting common.mk:
|
|
# $(call inherit-product, vendor/pawlet/config/common.mk)
|
|
# $(call inherit-product, vendor/pawlet/config/rpi_common.mk)
|
|
#
|
|
|
|
# ---------------------------------------------------------------------------
|
|
# MicroG — open-source Google Play Services replacement
|
|
# ---------------------------------------------------------------------------
|
|
$(call inherit-product, vendor/pawlet/config/microg.mk)
|
|
|
|
# ---------------------------------------------------------------------------
|
|
# Base hardware and software feature declarations for all RPi devices
|
|
# ---------------------------------------------------------------------------
|
|
PRODUCT_COPY_FILES += \
|
|
vendor/pawlet/config/permissions/pawlet-rpi-base-hardware.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/pawlet-rpi-base-hardware.xml
|
|
|
|
# ---------------------------------------------------------------------------
|
|
# RPi boot control HAL (A/B seamless updates via misc partition)
|
|
# ---------------------------------------------------------------------------
|
|
PRODUCT_PACKAGES += \
|
|
android.hardware.boot-service.pawlet_rpi
|
|
|
|
# ---------------------------------------------------------------------------
|
|
# RPi-specific framework overlay
|
|
# Disables telephony, GPS, and recents; sets Ethernet boot timeout.
|
|
# ---------------------------------------------------------------------------
|
|
PRODUCT_PACKAGES += \
|
|
pawlet-rpi-framework-res-overlay
|
|
|
|
# ---------------------------------------------------------------------------
|
|
# RPi updater overlay — enables tryboot-based A/B slot switching
|
|
# ---------------------------------------------------------------------------
|
|
PRODUCT_SOONG_NAMESPACES += device/pawlet/rpi
|
|
|
|
PRODUCT_PACKAGES += \
|
|
PawletUpdaterRpiOverlay \
|
|
PawletSettings \
|
|
SettingsProviderRpiCommonOverlay
|