This is a (no later than) Late Bronze Age borrowing into West Semitic from Akkadian
ekallu < Sumerian
e2. gal "palace, temple", as evidenced by the preservation of the initial consonant.
In Palm. equivalent to Greek
ναός.
The rendering "homestead" in the magical text tradition is merely a guess; it may mean a specific section of the house or property as opposed to a more generic term
bytˀ.