(This phrasal verb has more than one meaning)
Definition: to make something very quickly, using whatever is available [British informal]
E.g.1. There wasn’t much food in the cupboard, but I managed to knock up a meal for myself.
E.g.2. They knocked up a shelter out of the driftwood they found on the beach.
This phrasal verb can be separated.