Yes, it has to be the Silmarillion, unless they are just going to get some writers to make up a story that happens just before the Hobbit.
Well, no matter what it is, it will be maybe 5% Tolkien and 95% Amazon scriptwriters. Not like LOTR where they had to figure out what to leave out. In this case they’ll be making up filler.