Custom ROM frequently questions: Difference between revisions

From Bgzashtita Official wiki
Jump to navigation Jump to search
make donation on Paypal and section how to clone proton clang
 
improvement
Line 1: Line 1:
Hi I need donations to pay and help my mother gain money:
Hi I need donations to pay and help my mother gain money:
Much people's are asking how to solve this, and it take times to respond donate on Paypal: petur@bgzashtita.es
Much people's are asking how to solve this, and it take times to respond donate on Paypal: petur@bgzashtita.es


Line 9: Line 5:
How to clone clang versión. For this first can try proton clang:
How to clone clang versión. For this first can try proton clang:


CD android/prebuilts/clang/hosts/linux-x86/
cd android/prebuilts/clang/hosts/linux-x86/
 
And then git clone --depth=1 https://github.com/kdrag0n/proton-clang
And then git clone --depth=1 https://github.com/kdrag0n/proton-clang




When it is cloned. You need go to your android directory
When it is cloned. You need go to your android directory
CD android/device/yourvendor/model/
 
cd android/device/yourvendor/model/
And there edit Boardconfig.mk
And there edit Boardconfig.mk


# kernel
# kernel
TARGET_KERNEL_CLANG_PATH := $(shell pwd)/prebuilts/clang/host/linux-x86/proton-clang
TARGET_KERNEL_CLANG_PATH := $(shell pwd)/prebuilts/clang/host/linux-x86/proton-clang


Save board config.mk and then try compile
Save board config.mk and then try compile

Revision as of 23:49, 31 March 2023

Hi I need donations to pay and help my mother gain money: Much people's are asking how to solve this, and it take times to respond donate on Paypal: petur@bgzashtita.es


How to clone clang versión. For this first can try proton clang:

cd android/prebuilts/clang/hosts/linux-x86/

And then git clone --depth=1 https://github.com/kdrag0n/proton-clang


When it is cloned. You need go to your android directory

cd android/device/yourvendor/model/ And there edit Boardconfig.mk

# kernel
TARGET_KERNEL_CLANG_PATH := $(shell pwd)/prebuilts/clang/host/linux-x86/proton-clang

Save board config.mk and then try compile