Disabling on-board sensors for target board Cube Orange (duplicated post)

I have to disable or deactivate the internal sensors of the above board INS/IMU. So how to configure in the ardupilot main build system during the firmware build process, after integration with my own custom INS driver. Please assist, here in the EAHRS (.cpp and .h files there are some selective macro options for different third party driver selection, but how can that option linked with my driver, there I need assist in??