The final section of the Bhadrakalpika Sūtra (a proto-Mahayana text popular in North India / Central Asia) lists in verse how the next thousand (or so) Buddhas gave rise to their aspiration by donating to a previous Buddha.