From b97ffd446c5f10e1091eb955cf445fcd10a00a57 Mon Sep 17 00:00:00 2001 From: YZBruh Date: Sat, 2 Mar 2024 20:32:08 +0300 Subject: [PATCH] Update README.md --- README.md | 27 ++++++++++++++++++++++++++- 1 file changed, 26 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index a4badec..773fdd3 100644 --- a/README.md +++ b/README.md @@ -32,7 +32,7 @@ Example 2: Report bugs to ``` -For example, if we want to back up the `boot_a` section: `pbt -p boot_a' (edit the command if it has a different name). +For example, if we want to back up the `boot_a` partition: `pbt -p boot_a' (edit the command if it has a different name). #### Some notes @@ -41,3 +41,28 @@ For example, if we want to back up the `boot_a` section: `pbt -p boot_a' (edit t - it is mandatory to use the `-p` | `--partition` argument. After all, a partition name is required to be backed up. - If the logical partition flag is not used, a classic partition is tried to be backed up by default. - Let me know your suggestions! + +### How is it built? +Even termux is enough to build the pbt. Or you can compile it with linux if you want. NOTE: Use a custom gcc according to the architecture you want to compile. + +If you want to change something, take a look at the configuration. You can change him. +it is located in the `mka` folder. His name is `config.mk`. I gave the information in the file. You can ask more. + +To build; +``` +make +``` + +Special `make` commands (pbt offers :) ; +``` +--------- Partition Backupper help --------- + + Commands; + make ==> Build Partition Backupper + make clean ==> Clear files (Builded binaries are not deleted) + make clean-all ==> Clear files (Builded binaries are deleted) + make install-termux ==> If you are using termux, it installs the compiled pbt into termux. So it allows you to use it like a normal command. + make help ==> Display help message +``` + +I compiled it with termux :D. Why should I bother... I compiled it with `GCC 17.0.6`. You can look at the version with the viewing option :)