diff --git a/package/igh-ethercat/igh-ethercat.hash b/package/igh-ethercat/igh-ethercat.hash index c77627ee56..88548bf23e 100644 --- a/package/igh-ethercat/igh-ethercat.hash +++ b/package/igh-ethercat/igh-ethercat.hash @@ -1,5 +1,4 @@ -# From http://etherlab.org/download/ethercat/ethercat-1.5.2.tar.bz2.md5 -md5 6b4001f8d975865d74a0b108b3bdda3d ethercat-1.5.2.tar.bz2 # Locally computed +sha256 eb13a0f7f073ad54589c4f41829d9e995b37b26fbc7fcd05e3adb5e201e6feb4 igh-ethercat-2e2cef6131895336f87c57c18fe78ae01a90d3de.tar.gz sha256 231f7edcc7352d7734a96eef0b8030f77982678c516876fcb81e25b32d68564c COPYING sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 COPYING.LESSER diff --git a/package/igh-ethercat/igh-ethercat.mk b/package/igh-ethercat/igh-ethercat.mk index 9fcfb4f6f2..1041ba0758 100644 --- a/package/igh-ethercat/igh-ethercat.mk +++ b/package/igh-ethercat/igh-ethercat.mk @@ -4,11 +4,12 @@ # ################################################################################ -IGH_ETHERCAT_VERSION = 1.5.2 -IGH_ETHERCAT_SITE = http://etherlab.org/download/ethercat -IGH_ETHERCAT_SOURCE = ethercat-$(IGH_ETHERCAT_VERSION).tar.bz2 +IGH_ETHERCAT_VERSION = 2e2cef6131895336f87c57c18fe78ae01a90d3de +IGH_ETHERCAT_SITE = $(call gitlab,etherlab.org,ethercat,$(IGH_ETHERCAT_VERSION)) IGH_ETHERCAT_LICENSE = GPL-2.0 (IgH EtherCAT master), LGPL-2.1 (libraries) IGH_ETHERCAT_LICENSE_FILES = COPYING COPYING.LESSER +# Fetching from Git +IGH_ETHERCAT_AUTORECONF = YES IGH_ETHERCAT_INSTALL_STAGING = YES @@ -21,5 +22,11 @@ IGH_ETHERCAT_CONF_OPTS = \ $(if $(BR2_PACKAGE_IGH_ETHERCAT_E1000E),--enable-e1000e,--disable-e1000e) \ $(if $(BR2_PACKAGE_IGH_ETHERCAT_R8169),--enable-r8169,--disable-r8169) +# Needed to make autoreconf happy +define IGH_ETHERCAT_CREATE_CHANGELOG + touch $(@D)/ChangeLog +endef +IGH_ETHERCAT_POST_PATCH_HOOKS += IGH_ETHERCAT_CREATE_CHANGELOG + $(eval $(kernel-module)) $(eval $(autotools-package))