I have a SDA845 HDK and I would like to build a custom image based on Android 11.
I followed the below steps :
- repo init -u git://codeaurora.org/platform/manifest.git -b release -m LA.UM.9.3.r1-00500-sdm845.0.xml --repo-url=git://codeaurora.org/tools/repo.git
- repo sync
- source build/envsetup.h
- lunch sdm845-userdebug
- make -j2
First issue : when I run step 3, I observed the envsetup.h script is located in the build/make/ path.
After I applied a workaround by copying the envsetup.h script directly in the build/ path, I continued with steps 4 and 5 obtaining the following error:
FAILED: ninja: 'Android.bp', needed by 'out/soong/.bootstrap/build.ninja', missing and no known rule to make it
What I am doing wrong here? The above steps are obsolete?
Any feedback is greatly appreciated.