When the boot began to crack you could have replaced it, but now there is dirt and grim in the CV joint which accelerates wear. You can just replace the CV joint and boot, but the other boot probably isn't far behind.
https://www.fcpeuro.com/products/bmw...kit-3144980005