Investors & landlords

I am not asking about deducting these costs as a rental expense. I’m asking if they can be added to the cost basis of the home (cost incurred when home was bought).  I need to adjust the cost basis for calculating capital gains/loss.