Files
PawletRPI/pawlet_rpi4.mk
2025-09-11 07:27:58 -07:00

76 lines
1.9 KiB
Makefile

# Copyright (C) 2021-2023 KonstaKANG
# Copyright (C) 2025 oxmc
#
# SPDX-License-Identifier: Apache-2.0
#
# Inherit from base Raspberry Pi 4 product
$(call inherit-product, device/brcm/rpi4/device.mk)
# Device Product Configuration
PRODUCT_AAPT_CONFIG := normal mdpi hdpi
PRODUCT_AAPT_PREF_CONFIG := hdpi
PRODUCT_CHARACTERISTICS := tablet,nosdcard
# Base config
$(call inherit-product, $(SRC_TARGET_DIR)/product/full_base.mk)
$(call enforce-product-packages-exist,com.android.ranging)
# Overlays (Mostly RaspberryVanilla)
PRODUCT_PACKAGES += \
AndroidRpiOverlay \
BluetoothRpiOverlay \
SettingsProviderRpiOverlay \
SettingsRpiOverlay \
SystemUIRpiOverlay \
WifiRpiOverlay
# Permissions
PRODUCT_COPY_FILES += \
frameworks/native/data/etc/tablet_core_hardware.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/tablet_core_hardware.xml
# System apps
PRODUCT_PACKAGES += \
ThemePicker \
SettingsIntelligence
PRODUCT_PACKAGES += \
fonts-ArcticonsSans \
pawlet-framework-res-overlay
# FrameworkAPI properties
#PRODUCT_SYSTEM_PROPERTIES += \
# ro.pawlet.version=1.0 \
# ro.oxmc.os_name=PawletOS
# Config Provisioner App and config
#PRODUCT_PACKAGES += \
# ConfigProvisioner
#PRODUCT_COPY_FILES += \
# device/pawlet/rpi/configs/provisioner/vendor.cfg:$(TARGET_COPY_OUT_VENDOR)/etc/config_provisioner/vendor.cfg
# SELinux Policy Configuration
BOARD_SEPOLICY_DIRS += \
frameworks/base/pawlet/sepolicy
# UI Stuff
PRODUCT_PACKAGES += \
Lawnchair \
Florisboard
# Pre-Install apps for the user
PRODUCT_PACKAGES += \
VivladiBrowser
# Remove unwanted packages
$(call inherit-product, device/pawlet/rpi/remove_packages.mk)
# Device/Build identification
PRODUCT_DEVICE := rpi4
PRODUCT_NAME := pawlet_rpi4
PRODUCT_SYSTEM_NAME := pawlet_rpi4
PRODUCT_BRAND := Pawlet
PRODUCT_MODEL := Pawlet Pi 4
PRODUCT_MANUFACTURER := Raspberry Pi Foundation
PRODUCT_SYSTEM_BRAND := PawletOS