|
|
@ -35,7 +35,7 @@ pkg-config-preqs: |
|
|
|
# -----------------------------------------------------------------------------
|
|
|
|
|
|
|
|
HOST_PKG-CONFIG_VER = 0.29.2 |
|
|
|
HOST_PKG-CONFIG_TMP = pkg-config-$(HOST_PKG-CONFIG_VER) |
|
|
|
HOST_PKG-CONFIG_DIR = pkg-config-$(HOST_PKG-CONFIG_VER) |
|
|
|
HOST_PKG-CONFIG_SOURCE = pkg-config-$(HOST_PKG-CONFIG_VER).tar.gz |
|
|
|
HOST_PKG-CONFIG_SITE = https://pkg-config.freedesktop.org/releases |
|
|
|
|
|
|
@ -46,20 +46,20 @@ HOST_PKG-CONFIG = $(HOST_DIR)/bin/pkg-config |
|
|
|
|
|
|
|
host-pkg-config: $(HOST_PKG-CONFIG) |
|
|
|
$(HOST_PKG-CONFIG): $(DL_DIR)/$(HOST_PKG-CONFIG_SOURCE) | $(HOST_DIR) pkg-config-preqs |
|
|
|
$(REMOVE)/$(HOST_PKG-CONFIG_TMP) |
|
|
|
$(REMOVE)/$(HOST_PKG-CONFIG_DIR) |
|
|
|
$(UNTAR)/$(HOST_PKG-CONFIG_SOURCE) |
|
|
|
$(CHDIR)/$(HOST_PKG-CONFIG_TMP); \
|
|
|
|
$(CHDIR)/$(HOST_PKG-CONFIG_DIR); \
|
|
|
|
./configure \
|
|
|
|
--with-pc_path=$(PKG_CONFIG_PATH) \
|
|
|
|
; \
|
|
|
|
$(MAKE); \
|
|
|
|
$(INSTALL_EXEC) -D pkg-config $(HOST_PKG-CONFIG) |
|
|
|
$(REMOVE)/$(HOST_PKG-CONFIG_TMP) |
|
|
|
$(REMOVE)/$(HOST_PKG-CONFIG_DIR) |
|
|
|
|
|
|
|
# -----------------------------------------------------------------------------
|
|
|
|
|
|
|
|
HOST_PKGCONF_VER = 1.6.3 |
|
|
|
HOST_PKGCONF_TMP = pkgconf-$(HOST_PKGCONF_VER) |
|
|
|
HOST_PKGCONF_DIR = pkgconf-$(HOST_PKGCONF_VER) |
|
|
|
HOST_PKGCONF_SOURCE = pkgconf-$(HOST_PKGCONF_VER).tar.gz |
|
|
|
HOST_PKGCONF_SITE = https://distfiles.dereferenced.org/pkgconf |
|
|
|
|
|
|
@ -70,9 +70,9 @@ HOST_PKGCONF_PATCH = 0001-Only-prefix-with-the-sysroot-a-subset-of-variables.pa |
|
|
|
HOST_PKGCONF_PATCH += 0002-Revert-main-assume-modversion-insted-of-version-if-o.patch |
|
|
|
|
|
|
|
host-pkgconf: $(DL_DIR)/$(HOST_PKGCONF_SOURCE) | $(HOST_DIR) pkg-config-preqs |
|
|
|
$(REMOVE)/$(HOST_PKGCONF_TMP) |
|
|
|
$(REMOVE)/$(HOST_PKGCONF_DIR) |
|
|
|
$(UNTAR)/$(HOST_PKGCONF_SOURCE) |
|
|
|
$(CHDIR)/$(HOST_PKGCONF_TMP); \
|
|
|
|
$(CHDIR)/$(HOST_PKGCONF_DIR); \
|
|
|
|
$(call apply_patches, $(addprefix $(@F)/,$(HOST_PKGCONF_PATCH))); \
|
|
|
|
./configure \
|
|
|
|
--prefix=$(HOST_DIR) \
|
|
|
@ -83,7 +83,7 @@ host-pkgconf: $(DL_DIR)/$(HOST_PKGCONF_SOURCE) | $(HOST_DIR) pkg-config-preqs |
|
|
|
$(MAKE); \
|
|
|
|
$(MAKE) install |
|
|
|
$(INSTALL_EXEC) $(PATCHES)/$(@F)/pkgconf-pkg-config $(HOST_PKG-CONFIG) |
|
|
|
$(REMOVE)/$(HOST_PKGCONF_TMP) |
|
|
|
$(REMOVE)/$(HOST_PKGCONF_DIR) |
|
|
|
|
|
|
|
# -----------------------------------------------------------------------------
|
|
|
|
|
|
|
@ -93,7 +93,7 @@ $(PKG_CONFIG): $(HOST_PKG-CONFIG) |
|
|
|
# -----------------------------------------------------------------------------
|
|
|
|
|
|
|
|
HOST_MTD-UTILS_VER = $(MTD-UTILS_VER) |
|
|
|
HOST_MTD-UTILS_TMP = mtd-utils-$(HOST_MTD-UTILS_VER) |
|
|
|
HOST_MTD-UTILS_DIR = mtd-utils-$(HOST_MTD-UTILS_VER) |
|
|
|
HOST_MTD-UTILS_SOURCE = mtd-utils-$(HOST_MTD-UTILS_VER).tar.bz2 |
|
|
|
HOST_MTD-UTILS_SITE = ftp://ftp.infradead.org/pub/mtd-utils |
|
|
|
|
|
|
@ -101,9 +101,9 @@ HOST_MTD-UTILS_SITE = ftp://ftp.infradead.org/pub/mtd-utils |
|
|
|
# $(DOWNLOAD) $(HOST_MTD-UTILS_SITE)/$(HOST_MTD-UTILS_SOURCE)
|
|
|
|
|
|
|
|
host-mtd-utils: $(DL_DIR)/$(HOST_MTD-UTILS_SOURCE) | $(HOST_DIR) |
|
|
|
$(REMOVE)/$(HOST_MTD-UTILS_TMP) |
|
|
|
$(REMOVE)/$(HOST_MTD-UTILS_DIR) |
|
|
|
$(UNTAR)/$(HOST_MTD-UTILS_SOURCE) |
|
|
|
$(CHDIR)/$(HOST_MTD-UTILS_TMP); \
|
|
|
|
$(CHDIR)/$(HOST_MTD-UTILS_DIR); \
|
|
|
|
./configure \
|
|
|
|
ZLIB_CFLAGS=" " \
|
|
|
|
ZLIB_LIBS="-lz" \
|
|
|
@ -117,13 +117,13 @@ host-mtd-utils: $(DL_DIR)/$(HOST_MTD-UTILS_SOURCE) | $(HOST_DIR) |
|
|
|
; \
|
|
|
|
$(MAKE); \
|
|
|
|
$(MAKE) install DESTDIR=$(HOST_DIR) |
|
|
|
$(REMOVE)/$(HOST_MTD-UTILS_TMP) |
|
|
|
$(REMOVE)/$(HOST_MTD-UTILS_DIR) |
|
|
|
$(TOUCH) |
|
|
|
|
|
|
|
# -----------------------------------------------------------------------------
|
|
|
|
|
|
|
|
HOST_U-BOOT_VER = 2018.09 |
|
|
|
HOST_U-BOOT_TMP = u-boot-$(HOST_U-BOOT_VER) |
|
|
|
HOST_U-BOOT_DIR = u-boot-$(HOST_U-BOOT_VER) |
|
|
|
HOST_U-BOOT_SOURCE = u-boot-$(HOST_U-BOOT_VER).tar.bz2 |
|
|
|
HOST_U-BOOT_SITE = ftp://ftp.denx.de/pub/u-boot |
|
|
|
|
|
|
@ -132,19 +132,19 @@ $(DL_DIR)/$(HOST_U-BOOT_SOURCE): |
|
|
|
|
|
|
|
host-mkimage: $(HOST_DIR)/bin/mkimage |
|
|
|
$(HOST_DIR)/bin/mkimage: $(DL_DIR)/$(HOST_U-BOOT_SOURCE) | $(HOST_DIR) |
|
|
|
$(REMOVE)/$(HOST_U-BOOT_TMP) |
|
|
|
$(REMOVE)/$(HOST_U-BOOT_DIR) |
|
|
|
$(UNTAR)/$(HOST_U-BOOT_SOURCE) |
|
|
|
$(CHDIR)/$(HOST_U-BOOT_TMP); \
|
|
|
|
$(CHDIR)/$(HOST_U-BOOT_DIR); \
|
|
|
|
$(MAKE) defconfig; \
|
|
|
|
$(MAKE) silentoldconfig; \
|
|
|
|
$(MAKE) tools-only |
|
|
|
$(INSTALL_EXEC) -D $(BUILD_DIR)/$(HOST_U-BOOT_TMP)/tools/mkimage $(HOST_DIR)/bin/ |
|
|
|
$(REMOVE)/$(HOST_U-BOOT_TMP) |
|
|
|
$(INSTALL_EXEC) -D $(BUILD_DIR)/$(HOST_U-BOOT_DIR)/tools/mkimage $(HOST_DIR)/bin/ |
|
|
|
$(REMOVE)/$(HOST_U-BOOT_DIR) |
|
|
|
|
|
|
|
# -----------------------------------------------------------------------------
|
|
|
|
|
|
|
|
HOST_TZCODE_VER = 2019b |
|
|
|
HOST_TZCODE_TMP = tzcode$(HOST_TZCODE_VER) |
|
|
|
HOST_TZCODE_DIR = tzcode$(HOST_TZCODE_VER) |
|
|
|
HOST_TZCODE_SOURCE = tzcode$(HOST_TZCODE_VER).tar.gz |
|
|
|
HOST_TZCODE_SITE = ftp://ftp.iana.org/tz/releases |
|
|
|
|
|
|
@ -152,7 +152,7 @@ $(DL_DIR)/$(HOST_TZCODE_SOURCE): |
|
|
|
$(DOWNLOAD) $(HOST_TZCODE_SITE)/$(HOST_TZCODE_SOURCE) |
|
|
|
|
|
|
|
HOST_TZDATA_VER = $(TZDATA_VER) |
|
|
|
HOST_TZDATA_TMP = tzdata$(HOST_TZDATA_VER) |
|
|
|
HOST_TZDATA_DIR = tzdata$(HOST_TZDATA_VER) |
|
|
|
HOST_TZDATA_SOURCE = tzdata$(HOST_TZDATA_VER).tar.gz |
|
|
|
HOST_TZDATA_SITE = ftp://ftp.iana.org/tz/releases |
|
|
|
|
|
|
@ -162,20 +162,20 @@ HOST_TZDATA_SITE = ftp://ftp.iana.org/tz/releases |
|
|
|
HOST_ZIC = $(HOST_DIR)/sbin/zic |
|
|
|
|
|
|
|
host-zic: $(DL_DIR)/$(HOST_TZDATA_SOURCE) $(DL_DIR)/$(HOST_TZCODE_SOURCE) | $(HOST_DIR) |
|
|
|
$(REMOVE)/$(HOST_TZCODE_TMP) |
|
|
|
$(MKDIR)/$(HOST_TZCODE_TMP) |
|
|
|
$(CHDIR)/$(HOST_TZCODE_TMP); \
|
|
|
|
$(REMOVE)/$(HOST_TZCODE_DIR) |
|
|
|
$(MKDIR)/$(HOST_TZCODE_DIR) |
|
|
|
$(CHDIR)/$(HOST_TZCODE_DIR); \
|
|
|
|
tar -xf $(DL_DIR)/$(HOST_TZCODE_SOURCE); \
|
|
|
|
tar -xf $(DL_DIR)/$(HOST_TZDATA_SOURCE); \
|
|
|
|
$(MAKE) zic |
|
|
|
$(INSTALL_EXEC) -D $(BUILD_DIR)/$(HOST_TZCODE_TMP)/zic $(HOST_ZIC) |
|
|
|
$(REMOVE)/$(HOST_TZCODE_TMP) |
|
|
|
$(INSTALL_EXEC) -D $(BUILD_DIR)/$(HOST_TZCODE_DIR)/zic $(HOST_ZIC) |
|
|
|
$(REMOVE)/$(HOST_TZCODE_DIR) |
|
|
|
$(TOUCH) |
|
|
|
|
|
|
|
# -----------------------------------------------------------------------------
|
|
|
|
|
|
|
|
HOST_PARTED_VER = $(PARTED_VER) |
|
|
|
HOST_PARTED_TMP = parted-$(HOST_PARTED_VER) |
|
|
|
HOST_PARTED_DIR = parted-$(HOST_PARTED_VER) |
|
|
|
HOST_PARTED_SOURCE = parted-$(HOST_PARTED_VER).tar.xz |
|
|
|
HOST_PARTED_SITE = https://ftp.gnu.org/gnu/parted |
|
|
|
|
|
|
@ -186,9 +186,9 @@ HOST_PARTED_PATCH = parted-device-mapper.patch |
|
|
|
HOST_PARTED_PATCH += parted-sysmacros.patch |
|
|
|
|
|
|
|
host-parted: $(DL_DIR)/$(HOST_PARTED_SOURCE) | $(HOST_DIR) |
|
|
|
$(REMOVE)/$(HOST_PARTED_TMP) |
|
|
|
$(REMOVE)/$(HOST_PARTED_DIR) |
|
|
|
$(UNTAR)/$(HOST_PARTED_SOURCE) |
|
|
|
$(CHDIR)/$(HOST_PARTED_TMP); \
|
|
|
|
$(CHDIR)/$(HOST_PARTED_DIR); \
|
|
|
|
$(call apply_patches, $(HOST_PARTED_PATCH)); \
|
|
|
|
./configure \
|
|
|
|
--prefix= \
|
|
|
@ -200,13 +200,13 @@ host-parted: $(DL_DIR)/$(HOST_PARTED_SOURCE) | $(HOST_DIR) |
|
|
|
; \
|
|
|
|
$(MAKE); \
|
|
|
|
$(MAKE) install DESTDIR=$(HOST_DIR) |
|
|
|
$(REMOVE)/$(HOST_PARTED_TMP) |
|
|
|
$(REMOVE)/$(HOST_PARTED_DIR) |
|
|
|
$(TOUCH) |
|
|
|
|
|
|
|
# -----------------------------------------------------------------------------
|
|
|
|
|
|
|
|
HOST_DOSFSTOOLS_VER = $(DOSFSTOOLS_VER) |
|
|
|
HOST_DOSFSTOOLS_TMP = dosfstools-$(HOST_DOSFSTOOLS_VER) |
|
|
|
HOST_DOSFSTOOLS_DIR = dosfstools-$(HOST_DOSFSTOOLS_VER) |
|
|
|
HOST_DOSFSTOOLS_SOURCE = dosfstools-$(HOST_DOSFSTOOLS_VER).tar.xz |
|
|
|
HOST_DOSFSTOOLS_SITE = https://github.com/dosfstools/dosfstools/releases/download/v$(HOST_DOSFSTOOLS_VER) |
|
|
|
|
|
|
@ -214,9 +214,9 @@ HOST_DOSFSTOOLS_SITE = https://github.com/dosfstools/dosfstools/releases/downl |
|
|
|
# $(DOWNLOAD) $(HOST_DOSFSTOOLS_SITE)/$(HOST_DOSFSTOOLS_SOURCE)
|
|
|
|
|
|
|
|
host-dosfstools: $(DL_DIR)/$(HOST_DOSFSTOOLS_SOURCE) | $(HOST_DIR) |
|
|
|
$(REMOVE)/$(HOST_DOSFSTOOLS_TMP) |
|
|
|
$(REMOVE)/$(HOST_DOSFSTOOLS_DIR) |
|
|
|
$(UNTAR)/$(HOST_DOSFSTOOLS_SOURCE) |
|
|
|
$(CHDIR)/$(HOST_DOSFSTOOLS_TMP); \
|
|
|
|
$(CHDIR)/$(HOST_DOSFSTOOLS_DIR); \
|
|
|
|
./configure \
|
|
|
|
--prefix= \
|
|
|
|
--without-udev \
|
|
|
@ -226,13 +226,13 @@ host-dosfstools: $(DL_DIR)/$(HOST_DOSFSTOOLS_SOURCE) | $(HOST_DIR) |
|
|
|
ln -sf mkfs.fat $(HOST_DIR)/sbin/mkfs.vfat |
|
|
|
ln -sf mkfs.fat $(HOST_DIR)/sbin/mkfs.msdos |
|
|
|
ln -sf mkfs.fat $(HOST_DIR)/sbin/mkdosfs |
|
|
|
$(REMOVE)/$(HOST_DOSFSTOOLS_TMP) |
|
|
|
$(REMOVE)/$(HOST_DOSFSTOOLS_DIR) |
|
|
|
$(TOUCH) |
|
|
|
|
|
|
|
# -----------------------------------------------------------------------------
|
|
|
|
|
|
|
|
HOST_MTOOLS_VER = 4.0.19 |
|
|
|
HOST_MTOOLS_TMP = mtools-$(HOST_MTOOLS_VER) |
|
|
|
HOST_MTOOLS_DIR = mtools-$(HOST_MTOOLS_VER) |
|
|
|
HOST_MTOOLS_SOURCE = mtools-$(HOST_MTOOLS_VER).tar.gz |
|
|
|
HOST_MTOOLS_SITE = ftp://ftp.gnu.org/gnu/mtools |
|
|
|
|
|
|
@ -240,21 +240,21 @@ $(DL_DIR)/$(HOST_MTOOLS_SOURCE): |
|
|
|
$(DOWNLOAD) $(HOST_MTOOLS_SITE)/$(HOST_MTOOLS_SOURCE) |
|
|
|
|
|
|
|
host-mtools: $(DL_DIR)/$(HOST_MTOOLS_SOURCE) | $(HOST_DIR) |
|
|
|
$(REMOVE)/$(HOST_MTOOLS_TMP) |
|
|
|
$(REMOVE)/$(HOST_MTOOLS_DIR) |
|
|
|
$(UNTAR)/$(HOST_MTOOLS_SOURCE) |
|
|
|
$(CHDIR)/$(HOST_MTOOLS_TMP); \
|
|
|
|
$(CHDIR)/$(HOST_MTOOLS_DIR); \
|
|
|
|
./configure \
|
|
|
|
--prefix= \
|
|
|
|
; \
|
|
|
|
$(MAKE1); \
|
|
|
|
$(MAKE1) install DESTDIR=$(HOST_DIR) |
|
|
|
$(REMOVE)/$(HOST_MTOOLS_TMP) |
|
|
|
$(REMOVE)/$(HOST_MTOOLS_DIR) |
|
|
|
$(TOUCH) |
|
|
|
|
|
|
|
# -----------------------------------------------------------------------------
|
|
|
|
|
|
|
|
HOST_E2FSPROGS_VER = $(E2FSPROGS_VER) |
|
|
|
HOST_E2FSPROGS_TMP = e2fsprogs-$(HOST_E2FSPROGS_VER) |
|
|
|
HOST_E2FSPROGS_DIR = e2fsprogs-$(HOST_E2FSPROGS_VER) |
|
|
|
HOST_E2FSPROGS_SOURCE = e2fsprogs-$(HOST_E2FSPROGS_VER).tar.gz |
|
|
|
HOST_E2FSPROGS_SITE = https://sourceforge.net/projects/e2fsprogs/files/e2fsprogs/v$(HOST_E2FSPROGS_VER) |
|
|
|
|
|
|
@ -262,21 +262,21 @@ HOST_E2FSPROGS_SITE = https://sourceforge.net/projects/e2fsprogs/files/e2fspro |
|
|
|
# $(DOWNLOAD) $(HOST_E2FSPROGS_SITE)/$(HOST_E2FSPROGS_SOURCE)
|
|
|
|
|
|
|
|
host-e2fsprocs: $(DL_DIR)/$(HOST_E2FSPROGS_SOURCE) | $(HOST_DIR) |
|
|
|
$(REMOVE)/$(HOST_E2FSPROGS_TMP) |
|
|
|
$(REMOVE)/$(HOST_E2FSPROGS_DIR) |
|
|
|
$(UNTAR)/$(HOST_E2FSPROGS_SOURCE) |
|
|
|
$(CHDIR)/$(HOST_E2FSPROGS_TMP); \
|
|
|
|
$(CHDIR)/$(HOST_E2FSPROGS_DIR); \
|
|
|
|
./configure \
|
|
|
|
--prefix= \
|
|
|
|
; \
|
|
|
|
$(MAKE); \
|
|
|
|
$(MAKE) install DESTDIR=$(HOST_DIR) |
|
|
|
$(REMOVE)/$(HOST_E2FSPROGS_TMP) |
|
|
|
$(REMOVE)/$(HOST_E2FSPROGS_DIR) |
|
|
|
$(TOUCH) |
|
|
|
|
|
|
|
# -----------------------------------------------------------------------------
|
|
|
|
|
|
|
|
HOST_NINJA_VER = 1.10.0 |
|
|
|
HOST_NINJA_TMP = ninja-$(HOST_NINJA_VER) |
|
|
|
HOST_NINJA_DIR = ninja-$(HOST_NINJA_VER) |
|
|
|
HOST_NINJA_SOURCE = ninja-$(HOST_NINJA_VER).tar.gz |
|
|
|
HOST_NINJA_SITE = $(call github,ninja-build,ninja,v$(HOST_NINJA_VER)) |
|
|
|
|
|
|
@ -288,22 +288,22 @@ $(DL_DIR)/$(HOST_NINJA_SOURCE): |
|
|
|
$(DOWNLOAD) $(HOST_NINJA_SITE)/$(HOST_NINJA_SOURCE) |
|
|
|
|
|
|
|
host-ninja: $(DL_DIR)/$(HOST_NINJA_SOURCE) | $(HOST_DIR) |
|
|
|
$(REMOVE)/$(HOST_NINJA_TMP) |
|
|
|
$(REMOVE)/$(HOST_NINJA_DIR) |
|
|
|
$(UNTAR)/$(HOST_NINJA_SOURCE) |
|
|
|
$(CHDIR)/$(HOST_NINJA_TMP); \
|
|
|
|
$(CHDIR)/$(HOST_NINJA_DIR); \
|
|
|
|
$(call apply_patches, $(HOST_NINJA_PATCH)); \
|
|
|
|
cmake . \
|
|
|
|
-DCMAKE_INSTALL_PREFIX="" \
|
|
|
|
; \
|
|
|
|
$(MAKE) |
|
|
|
$(INSTALL_EXEC) -D $(BUILD_DIR)/$(HOST_NINJA_TMP)/ninja $(HOST_DIR)/bin/ninja |
|
|
|
$(REMOVE)/$(HOST_NINJA_TMP) |
|
|
|
$(INSTALL_EXEC) -D $(BUILD_DIR)/$(HOST_NINJA_DIR)/ninja $(HOST_DIR)/bin/ninja |
|
|
|
$(REMOVE)/$(HOST_NINJA_DIR) |
|
|
|
$(TOUCH) |
|
|
|
|
|
|
|
# -----------------------------------------------------------------------------
|
|
|
|
|
|
|
|
HOST_LUA_VER = $(LUA_VER) |
|
|
|
HOST_LUA_TMP = lua-$(HOST_LUA_VER) |
|
|
|
HOST_LUA_DIR = lua-$(HOST_LUA_VER) |
|
|
|
HOST_LUA_SOURCE = lua-$(HOST_LUA_VER).tar.gz |
|
|
|
HOST_LUA_SITE = http://www.lua.org/ftp |
|
|
|
|
|
|
@ -316,19 +316,19 @@ HOST_LUA_PATCH += lua-01-remove-readline.patch |
|
|
|
HOST_LUA = $(HOST_DIR)/bin/lua |
|
|
|
|
|
|
|
host-lua: $(DL_DIR)/$(HOST_LUA_SOURCE) | $(HOST_DIR) |
|
|
|
$(REMOVE)/$(HOST_LUA_TMP) |
|
|
|
$(REMOVE)/$(HOST_LUA_DIR) |
|
|
|
$(UNTAR)/$(HOST_LUA_SOURCE) |
|
|
|
$(CHDIR)/$(HOST_LUA_TMP); \
|
|
|
|
$(CHDIR)/$(HOST_LUA_DIR); \
|
|
|
|
$(call apply_patches, $(HOST_LUA_PATCH)); \
|
|
|
|
$(MAKE) linux; \
|
|
|
|
$(MAKE) install INSTALL_TOP=$(HOST_DIR) |
|
|
|
$(REMOVE)/$(HOST_LUA_TMP) |
|
|
|
$(REMOVE)/$(HOST_LUA_DIR) |
|
|
|
$(TOUCH) |
|
|
|
|
|
|
|
# -----------------------------------------------------------------------------
|
|
|
|
|
|
|
|
HOST_LUAROCKS_VER = 3.1.3 |
|
|
|
HOST_LUAROCKS_TMP = luarocks-$(HOST_LUAROCKS_VER) |
|
|
|
HOST_LUAROCKS_DIR = luarocks-$(HOST_LUAROCKS_VER) |
|
|
|
HOST_LUAROCKS_SOURCE = luarocks-$(HOST_LUAROCKS_VER).tar.gz |
|
|
|
HOST_LUAROCKS_SITE = https://luarocks.github.io/luarocks/releases |
|
|
|
|
|
|
@ -353,9 +353,9 @@ HOST_LUAROCKS = $(HOST_DIR)/bin/luarocks |
|
|
|
|
|
|
|
host-luarocks: $(HOST_LUAROCKS) |
|
|
|
$(HOST_LUAROCKS): $(HOST_LUA) $(DL_DIR)/$(HOST_LUAROCKS_SOURCE) | $(HOST_DIR) |
|
|
|
$(REMOVE)/$(HOST_LUAROCKS_TMP) |
|
|
|
$(REMOVE)/$(HOST_LUAROCKS_DIR) |
|
|
|
$(UNTAR)/$(HOST_LUAROCKS_SOURCE) |
|
|
|
$(CHDIR)/$(HOST_LUAROCKS_TMP); \
|
|
|
|
$(CHDIR)/$(HOST_LUAROCKS_DIR); \
|
|
|
|
$(call apply_patches, $(HOST_LUAROCKS_PATCH)); \
|
|
|
|
./configure $(SILENT_OPT) \
|
|
|
|
--prefix=$(HOST_DIR) \
|
|
|
@ -367,7 +367,7 @@ $(HOST_LUAROCKS): $(HOST_LUA) $(DL_DIR)/$(HOST_LUAROCKS_SOURCE) | $(HOST_DIR) |
|
|
|
$(MAKE); \
|
|
|
|
$(MAKE) install |
|
|
|
cat $(CONFIGS)/luarocks-config.lua >> $(HOST_LUAROCKS_CONFIG_FILE) |
|
|
|
$(REMOVE)/$(HOST_LUAROCKS_TMP) |
|
|
|
$(REMOVE)/$(HOST_LUAROCKS_DIR) |
|
|
|
|
|
|
|
# -----------------------------------------------------------------------------
|
|
|
|
|
|
|
|