summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/lua.mk11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/lua.mk b/src/lua.mk
index 8d00b02..41a3347 100644
--- a/src/lua.mk
+++ b/src/lua.mk
@@ -70,3 +70,14 @@ define $(PKG)_BUILD_SHARED
install
$($(PKG)_BUILD_COMMON)
endef
+
+define $(PKG)_BUILD_$(BUILD)
+ $(MAKE) -C '$(1)/src' -j '$(JOBS)' \
+ INSTALL_TOP='$(PREFIX)/$(TARGET)' \
+ INSTALL='$(INSTALL)' \
+ PLAT=$(shell ([ `uname -s` == Darwin ] && echo "macosx") || echo `uname -s` | tr '[:upper:]' '[:lower:]')
+ $(MAKE) -C '$(1)' -j 1 \
+ INSTALL_TOP='$(PREFIX)/$(TARGET)' \
+ INSTALL='$(INSTALL)' \
+ install
+endef