Closed parthibx24 closed 6 years ago
Don't build ROMs with prebuilt kernel, because kernel headers can't be detected during build process when building HALs
and what about patches? do I need to add any patch on the source?
@Parthib24 There are no patches to make in the Android source as Remilia15 moved all the patches to the device sources
ooh.ok thanks for the info.
hardware/sprd/hwcomposer/sc8830/sc8830/gsp_hal.cpp: In function 'int32_t gsp_hal_trigger(int32_t)': hardware/sprd/hwcomposer/sc8830/sc8830/gsp_hal.cpp:678:25: error: 'GSP_IO_TRIGGER_RUN' was not declared in this scope ret = ioctl(gsp_fd, GSP_IO_TRIGGER_RUN, 1); ^ hardware/sprd/hwcomposer/sc8830/sc8830/gsp_hal.cpp: In function 'int32_t gsp_hal_waitdone(int32_t)': hardware/sprd/hwcomposer/sc8830/sc8830/gsp_hal.cpp:705:25: error: 'GSP_IO_WAIT_FINISH' was not declared in this scope ret = ioctl(gsp_fd, GSP_IO_WAIT_FINISH, 1);
ok
Thanks it successfully compiled.
I am trying to compile Lineage13 with prebuilt kernel.but getting this type of errors.
../out/target/product/grandprimeve3g/obj/KERNEL_OBJ/usr', needed by `../out/target/product/grandprimeve3g/obj/SHARED_LIBRARIES/.. '
do i need to add any patch?i didn't added any patch in the source..