make idegen fails with error "cmd: unknown variable '$(PATH_OVERRIDE_SOONG)'"
I tried to follow the instructions from https://wiki.lineageos.org/how-to/import-to-android-studio but make idegen resulted in the following error.
Expected Behavior
Files for AndroidStudio are generated.
Current Behavior
FAILED: out/soong/build.ninja
out/soong/.bootstrap/bin/soong_build -t -l out/.module_paths/Android.bp.list -b out/soong -n out -d out/soong/build.ninja.d -globFile out/soong/.bootstrap/build-globs.ninja -o out/soong/build.ninja Android.bp
error: vendor/lineage/build/soong/Android.bp:24:8: module "generated_kernel_includes": cmd: unknown variable '$(PATH_OVERRIDE_SOONG)'
16:55:08 soong bootstrap failed with: exit status 1
Steps to Reproduce
source build/envsetup.shmake idegen
/device dumpling /version lineage-18.1 /date 2022-02-15 /kernel 4.4.302-lineage+ /baseband .c4.7-00070-8998_GEN_PACK-2.271073.1.277412.1 /mods OpenGAPPS-nano
I have read the directions.
Edited by zraktvor