Added some changes like checking idf_target = BT_SOC_SUPPORT_5_0 and menuconfig option to enable/disable host based privacy.