1 ################################################################################
5 ################################################################################
7 IGH_ETHERCAT_VERSION
= 1.5.2
8 IGH_ETHERCAT_SITE
= http
://etherlab.org
/download
/ethercat
9 IGH_ETHERCAT_SOURCE
= ethercat-
$(IGH_ETHERCAT_VERSION
).
tar.bz2
10 IGH_ETHERCAT_LICENSE
= GPLv2
(IgH EtherCAT master
), LGPLv2.1
(libraries
)
11 IGH_ETHERCAT_LICENSE_FILES
= COPYING COPYING.LESSER
13 IGH_ETHERCAT_INSTALL_STAGING
= YES
15 IGH_ETHERCAT_CONF_OPTS
= \
16 --with-linux-dir
=$(LINUX_DIR
)
18 IGH_ETHERCAT_CONF_OPTS
+= $(if
$(BR2_PACKAGE_IGH_ETHERCAT_8139TOO
),--enable-8139too
,--disable-8139too
)
19 IGH_ETHERCAT_CONF_OPTS
+= $(if
$(BR2_PACKAGE_IGH_ETHERCAT_E100
),--enable-e100
,--disable-e100
)
20 IGH_ETHERCAT_CONF_OPTS
+= $(if
$(BR2_PACKAGE_IGH_ETHERCAT_E1000
),--enable-e1000
,--disable-e1000
)
21 IGH_ETHERCAT_CONF_OPTS
+= $(if
$(BR2_PACKAGE_IGH_ETHERCAT_E1000E
),--enable-e1000e
,--disable-e1000e
)
22 IGH_ETHERCAT_CONF_OPTS
+= $(if
$(BR2_PACKAGE_IGH_ETHERCAT_R8169
),--enable-r8169
,--disable-r8169
)
24 $(eval
$(kernel-module
))
25 $(eval
$(autotools-package
))