The global 21-cm signal in the context of the high- z galaxy luminosity function