interpreters/lua: fix unpack on incremental build
Signed-off-by: Neo Xu <neo.xu1990@gmail.com>
This commit is contained in:
parent
167672c783
commit
6725d481b2
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user