interpreters/lua: fix unpack on incremental build
@@ -70,14 +70,12 @@ endif
$(LUA_TARBALL):
$(Q) echo "Downloading $(LUA_TARBALL)"
$(Q) curl -O -L $(LUA_URL)
-
-$(LUA_UNPACK): $(LUA_TARBALL)
$(Q) echo "Unpacking $(LUA_TARBALL) to $(LUA_UNPACK)"
$(Q) tar -xvzf $(LUA_TARBALL)
# Download and unpack tarball if no git repo found
ifeq ($(wildcard $(LUA_UNPACK)/.git),)
-context:: $(LUA_UNPACK)
+context:: $(LUA_TARBALL)
endif
# Register core modules
