@ -26,6 +26,9 @@ PKG_BUILD_DEPENDS:=lua/host
HOST_BUILD_DEPENDS := $( PKG_BUILD_DEPENDS)
HOST_BUILD_DEPENDS := $( PKG_BUILD_DEPENDS)
HOST_BUILD_PARALLEL := 1
HOST_BUILD_PARALLEL := 1
HOST_BUILD_PREFIX := $( STAGING_DIR) /host
HOST_BUILD_DIR := $( BUILD_DIR) /host/$( PKG_NAME) -$( PKG_VERSION)
i n c l u d e $( INCLUDE_DIR ) / h o s t - b u i l d . m k
i n c l u d e $( INCLUDE_DIR ) / h o s t - b u i l d . m k
i n c l u d e $( INCLUDE_DIR ) / p a c k a g e . m k
i n c l u d e $( INCLUDE_DIR ) / p a c k a g e . m k
@ -49,14 +52,18 @@ CONFIGURE_ARGS = \
--with-lua= $( STAGING_DIR_HOSTPKG)
--with-lua= $( STAGING_DIR_HOSTPKG)
HOST_CONFIGURE_ARGS = \
HOST_CONFIGURE_ARGS = \
--prefix= $( STAGING_DIR_HOSTPKG ) \
--sysconfdir= $( STAGING_DIR_HOSTPKG ) /etc \
--prefix= $( STAGING_DIR) /host \
--sysconfdir= $( STAGING_DIR) /host /etc \
--with-lua= $( STAGING_DIR_HOSTPKG)
--with-lua= $( STAGING_DIR_HOSTPKG)
CONFIGURE_VARS = \
CONFIGURE_VARS = \
LUAROCKS_UNAME_S = "Linux" \
LUAROCKS_UNAME_S = "Linux" \
LUAROCKS_UNAME_M = " $( ARCH) "
LUAROCKS_UNAME_M = " $( ARCH) "
HOST_CONFIGURE_VARS = \
LUAROCKS_UNAME_S = "Linux" \
LUAROCKS_UNAME_M = " $( ARCH) "
d e f i n e B u i l d / C o m p i l e
d e f i n e B u i l d / C o m p i l e
$( call Build/Compile/Default,build)
$( call Build/Compile/Default,build)
e n d e f
e n d e f