and it does NOT teach that elimination of the self and of earthly desires is the route to enlightenment. The Buddha abandoned this wrong thinking after his 7 years in the cave ...
The split between Hinayana and Mahayana was caused by the inherent contradiction of the concept of non-self, that by its incompatibility with reality is insolvable; the wise Buddha could never have taught it ...