Closed VTVishwanath closed 11 months ago
This can be fixed by adding below lines of code at the beginning to vendor/superior/build/tasks/kernel.mk file
include vendor/superior/config/BoardConfigKernel.mk
Created a pull request for this https://github.com/SuperiorOS/android_vendor_superior/pull/121
Not relevant
I am building unofficially Superior OS for RMX1851 (Realme 3 Pro with sdm710 chipset). I am using thirteen branch. Device tree used: https://github.com/VTVishwanath/superior_device_realme_RMX1851 Kernel tree used: https://github.com/Cykeek/kernel_realme_sdm710 -b A13 kernel/realme/sdm710 Device vendor tree used: https://github.com/ArrowOS-Devices/android_vendor_realme_RMX1851
I get below error.
Upon investigation, I found out that KERNEL_ARCH variable not getting set properly. Then I added below line of code to vendor/superior/build/tasks/kernel.mk file at the beginning from the vendor/superior/config/BoardConfigKernel.mk
After this I am getting different error. Which is below.
Upon investigation found that few of the variables used in the vendor/superior/build/tasks/kernel.mk not getting set properly. Variables are empty. Upon further investigation found that vendor/superior/config/BoardConfigKernel.mk file is not getting included or getting executed as this file has all the missing variables and values are set in here. So both errors caused by this.
Any idea how to fix this? Anyone faced this? What could be the root cause or fix?