# create a folder to hold source code
mkdir pe-pancake
cd pe-pancake
# clone scripts
git clone https://github.com/pe-pancake/pancake.git
# run initialization script
pancake/initThe build script requires Bash as execution environment. To add the build script to your environment, source setup file.
source pancake/envsetup.bashAfter that you will have access to the pk command.
pk buildregenerateorrโ Regenerate kernel defconfig.buildorbโ Build ROM.build-kernelorbkโ Build kernel + DTBO (bootimage).syncorsโ Update source codes from remote repositories and apply patches.