From 33f5479ddc8aa43487df6fd8e77358cfc515429a Mon Sep 17 00:00:00 2001 From: YZBruh Date: Tue, 28 Oct 2025 08:49:18 +0300 Subject: [PATCH] Update Building With Android Build System --- Building-With-Android-Build-System.md | 78 +++++++++++++-------------- 1 file changed, 39 insertions(+), 39 deletions(-) diff --git a/Building-With-Android-Build-System.md b/Building-With-Android-Build-System.md index 32bb445..709c894 100644 --- a/Building-With-Android-Build-System.md +++ b/Building-With-Android-Build-System.md @@ -1,39 +1,39 @@ -This guide is for integrating the [PMT Renovated](https://github.com/ShawkTeam/pmt-renovated) project into the Android build system. - -## Downloading or Cloning the Source - -You can add the project in two ways: - -- **Placing in `external` directory:** - ```bash - git clone https://github.com/ShawkTeam/pmt-renovated external/pmt - ``` - -- **Placing in the device tree:** - ```bash - git clone https://github.com/ShawkTeam/pmt-renovated device///pmt - ``` - If added to the device tree, add the following line in your **device.mk**: - ```make - PRODUCT_SOONG_NAMESPACES += $(DEVICE_PATH) - ``` - -## Including in Recovery - -To include the project in the recovery image, add the following to `device.mk`: - -```make -PRODUCT_PACKAGES += pmt.recovery -``` - -## Including in Normal ROM or System Image - -To include the project in the normal ROM or system image, add the following to `device.mk`: - -```make -PRODUCT_PACKAGES += pmt -``` - ---- - -Now, the PMT Renovated project will be part of your selected build target. +This guide is for integrating the [PMT Renovated](https://github.com/ShawkTeam/pmt-renovated) project into the Android build system. + +## Downloading or Cloning the Source + +You can add the project in two ways: + +- **Placing in `external` directory:** + ```bash + git clone https://git.yzbruh.space/YZBruh/pmt-renovated external/pmt + ``` + +- **Placing in the device tree:** + ```bash + git clone https://git.yzbruh.space/YZBruh/pmt-renovated device///pmt + ``` + If added to the device tree, add the following line in your **device.mk**: + ```make + PRODUCT_SOONG_NAMESPACES += $(DEVICE_PATH) + ``` + +## Including in Recovery + +To include the project in the recovery image, add the following to `device.mk`: + +```make +PRODUCT_PACKAGES += pmt.recovery +``` + +## Including in Normal ROM or System Image + +To include the project in the normal ROM or system image, add the following to `device.mk`: + +```make +PRODUCT_PACKAGES += pmt +``` + +--- + +Now, the PMT Renovated project will be part of your selected build target.