A major storm headed for areas of Southern California affected by wildfires has prompted evacuations.