Support building both L1 and F4 code bases

It's a bit of a gross hack and its dependencies are all screwy, but it lets
this move forward