For fixed graphs F and H, the generalized Turán problem asks for the maximum number ex(n, H, F ) of copies of H that an n-vertex F -free graph can have. In this paper, we focus on cases with F being B r,s , the graph consisting of two cliques of size s sharing r common vertices. We determine ex(n, K t , B r,0 ), ex(n, K a,b , B 3,1 ) for any values of a, b, r, t if n is large enough and ex(n, K r+t , B r,s ) if 2s + t + 1 < r and n is large enough.