Merge "hal: Support the independent back-end for different device"