Browse Source

- introduce KERNEL_MIRROR variable

master
vanhofen 4 years ago
parent
commit
b8c484f95a
  1. 1
      make/environment-build.mk
  2. 10
      make/target-tools-unused.mk
  3. 4
      make/target-tools.mk

1
make/environment-build.mk

@ -315,6 +315,7 @@ BITBUCKET = https://bitbucket.org
BITBUCKET_SSH = git@bitbucket.org BITBUCKET_SSH = git@bitbucket.org
GNU_MIRROR = http://ftp.gnu.org/pub/gnu GNU_MIRROR = http://ftp.gnu.org/pub/gnu
KERNEL_MIRROR = https://cdn.kernel.org/pub
NI-PUBLIC = $(GITHUB)/neutrino-images NI-PUBLIC = $(GITHUB)/neutrino-images
NI-PRIVATE = $(BITBUCKET_SSH):neutrino-images NI-PRIVATE = $(BITBUCKET_SSH):neutrino-images

10
make/target-tools-unused.mk

@ -7,7 +7,7 @@
USBUTILS_VER = 007 USBUTILS_VER = 007
USBUTILS_DIR = usbutils-$(USBUTILS_VER) USBUTILS_DIR = usbutils-$(USBUTILS_VER)
USBUTILS_SOURCE = usbutils-$(USBUTILS_VER).tar.xz USBUTILS_SOURCE = usbutils-$(USBUTILS_VER).tar.xz
USBUTILS_SITE = https://www.kernel.org/pub/linux/utils/usb/usbutils USBUTILS_SITE = $(KERNEL_MIRROR)/linux/utils/usb/usbutils
$(DL_DIR)/$(USBUTILS_SOURCE): $(DL_DIR)/$(USBUTILS_SOURCE):
$(DOWNLOAD) $(USBUTILS_SITE)/$(USBUTILS_SOURCE) $(DOWNLOAD) $(USBUTILS_SITE)/$(USBUTILS_SOURCE)
@ -76,7 +76,7 @@ binutils: $(DL_DIR)/$(BINUTILS_SOURCE) | $(TARGET_DIR)
UTIL-LINUX_VER = 2.36.1 UTIL-LINUX_VER = 2.36.1
UTIL-LINUX_DIR = util-linux-$(UTIL-LINUX_VER) UTIL-LINUX_DIR = util-linux-$(UTIL-LINUX_VER)
UTIL-LINUX_SOURCE = util-linux-$(UTIL-LINUX_VER).tar.xz UTIL-LINUX_SOURCE = util-linux-$(UTIL-LINUX_VER).tar.xz
UTIL-LINUX_SITE = https://www.kernel.org/pub/linux/utils/util-linux/v$(basename $(UTIL-LINUX_VER)) UTIL-LINUX_SITE = $(KERNEL_MIRROR)/linux/utils/util-linux/v$(basename $(UTIL-LINUX_VER))
$(DL_DIR)/$(UTIL-LINUX_SOURCE): $(DL_DIR)/$(UTIL-LINUX_SOURCE):
$(DOWNLOAD) $(UTIL-LINUX_SITE)/$(UTIL-LINUX_SOURCE) $(DOWNLOAD) $(UTIL-LINUX_SITE)/$(UTIL-LINUX_SOURCE)
@ -90,7 +90,8 @@ util-linux: $(UTUL-LINUX_DEPS) $(DL_DIR)/$(UTIL-LINUX_SOURCE) | $(TARGET_DIR)
autoreconf -fi; \ autoreconf -fi; \
$(CONFIGURE) \ $(CONFIGURE) \
--prefix=$(base_prefix) \ --prefix=$(base_prefix) \
--datarootdir=$(REMOVE_datarootdir) \ --localedir=$(REMOVE_localedir) \
--mandir=$(REMOVE_mandir) \
--enable-static \ --enable-static \
--disable-shared \ --disable-shared \
--disable-hardlink \ --disable-hardlink \
@ -101,7 +102,6 @@ util-linux: $(UTUL-LINUX_DEPS) $(DL_DIR)/$(UTIL-LINUX_SOURCE) | $(TARGET_DIR)
--enable-libfdisk \ --enable-libfdisk \
--enable-libsmartcols \ --enable-libsmartcols \
--enable-libuuid \ --enable-libuuid \
--disable-bash-completion \
\ \
--disable-makeinstall-chown \ --disable-makeinstall-chown \
--disable-makeinstall-setuid \ --disable-makeinstall-setuid \
@ -110,8 +110,10 @@ util-linux: $(UTUL-LINUX_DEPS) $(DL_DIR)/$(UTIL-LINUX_SOURCE) | $(TARGET_DIR)
--without-ncursesw \ --without-ncursesw \
--without-python \ --without-python \
--without-slang \ --without-slang \
--without-systemd \
--without-systemdsystemunitdir \ --without-systemdsystemunitdir \
--without-tinfo \ --without-tinfo \
--without-udev \
; \ ; \
$(MAKE); \ $(MAKE); \
$(MAKE) install DESTDIR=$(TARGET_DIR) $(MAKE) install DESTDIR=$(TARGET_DIR)

4
make/target-tools.mk

@ -897,7 +897,7 @@ ntfs-3g: $(DL_DIR)/$(NTFS-3G_SOURCE) | $(TARGET_DIR)
AUTOFS_VER = 5.1.6 AUTOFS_VER = 5.1.6
AUTOFS_DIR = autofs-$(AUTOFS_VER) AUTOFS_DIR = autofs-$(AUTOFS_VER)
AUTOFS_SOURCE = autofs-$(AUTOFS_VER).tar.xz AUTOFS_SOURCE = autofs-$(AUTOFS_VER).tar.xz
AUTOFS_SITE = https://www.kernel.org/pub/linux/daemons/autofs/v5 AUTOFS_SITE = $(KERNEL_MIRROR)/linux/daemons/autofs/v5
$(DL_DIR)/$(AUTOFS_SOURCE): $(DL_DIR)/$(AUTOFS_SOURCE):
$(DOWNLOAD) $(AUTOFS_SITE)/$(AUTOFS_SOURCE) $(DOWNLOAD) $(AUTOFS_SITE)/$(AUTOFS_SOURCE)
@ -1705,7 +1705,7 @@ dvbsnoop: | $(TARGET_DIR)
ETHTOOL_VER = 5.9 ETHTOOL_VER = 5.9
ETHTOOL_DIR = ethtool-$(ETHTOOL_VER) ETHTOOL_DIR = ethtool-$(ETHTOOL_VER)
ETHTOOL_SOURCE = ethtool-$(ETHTOOL_VER).tar.xz ETHTOOL_SOURCE = ethtool-$(ETHTOOL_VER).tar.xz
ETHTOOL_SITE = https://www.kernel.org/pub/software/network/ethtool ETHTOOL_SITE = $(KERNEL_MIRROR)/software/network/ethtool
$(DL_DIR)/$(ETHTOOL_SOURCE): $(DL_DIR)/$(ETHTOOL_SOURCE):
$(DOWNLOAD) $(ETHTOOL_SITE)/$(ETHTOOL_SOURCE) $(DOWNLOAD) $(ETHTOOL_SITE)/$(ETHTOOL_SOURCE)

Loading…
Cancel
Save