# # Copyright (C) 2012 The CyanogenMod Project # Copyright (C) 2017 The LineageOS Project # Copyright (C) 2025 oxmc / PawletOS # # SPDX-License-Identifier: Apache-2.0 # # Adapted from vendor/lineage/config/version.mk (The LineageOS Project). # PAWLET_MAJOR_VERSION := 1 PAWLET_MINOR_VERSION := 0 PAWLET_BUILD_DATE := $(shell date -u +%Y%m%d) # PAWLET_BUILDTYPE comes from the environment; only recognised types are # kept, everything else becomes UNOFFICIAL. ro.pawlet.releasetype must match # the update server channel ("romtype"), so keep these in sync with it. ifeq ($(filter RELEASE NIGHTLY SNAPSHOT EXPERIMENTAL,$(PAWLET_BUILDTYPE)),) PAWLET_BUILDTYPE := UNOFFICIAL endif # Full version suffix: -- PAWLET_VERSION_SUFFIX := $(PAWLET_BUILD_DATE)-$(PAWLET_BUILDTYPE)-$(PAWLET_BUILD) # Canonical version (used in OTA zip filename) PAWLET_VERSION := $(PAWLET_MAJOR_VERSION).$(PAWLET_MINOR_VERSION)-$(PAWLET_VERSION_SUFFIX) # Short display version (major-suffix, like LineageOS 23-) PAWLET_DISPLAY_VERSION := $(PAWLET_MAJOR_VERSION)-$(PAWLET_VERSION_SUFFIX) # --------------------------------------------------------------------------- # Security patch level # --------------------------------------------------------------------------- # Bumped manually whenever a monthly AOSP security bulletin's patches are # actually backported into the tree — this is a record of work done, not # something CI infers automatically. See PawletOS-Build/docs/security-patch-process.md # and PawletOS-Build/scripts/check_security_patch.py (run the latter to see # how far behind this date is against the latest published AOSP bulletin). #PAWLET_SECURITY_PATCH := 2026-07-05 #PLATFORM_SECURITY_PATCH := $(PAWLET_SECURITY_PATCH) # --------------------------------------------------------------------------- # System properties written into /product/build.prop # --------------------------------------------------------------------------- PRODUCT_PRODUCT_PROPERTIES += \ ro.pawlet.version=$(PAWLET_VERSION) \ ro.pawlet.display.version=$(PAWLET_DISPLAY_VERSION) \ ro.pawlet.build.version=$(PAWLET_MAJOR_VERSION).$(PAWLET_MINOR_VERSION) \ ro.pawlet.releasetype=$(PAWLET_BUILDTYPE)