* [Buildroot] [pull request] Pull request for branch for-2012.02/ethercat
@ 2011-12-24 10:28 Thomas Petazzoni
2011-12-24 10:28 ` [Buildroot] [PATCH 1/1] igh-ethercat: new package Thomas Petazzoni
0 siblings, 1 reply; 4+ messages in thread
From: Thomas Petazzoni @ 2011-12-24 10:28 UTC (permalink / raw)
To: buildroot
The following changes since commit ef3fe1bef6581c66af3858d540343e011cb9fdd6:
cdrkit: bump to version 1.1.11 and adjust style (2011-12-21 23:02:31 +0100)
are available in the git repository at:
http://free-electrons.com/~thomas/buildroot.git for-2012.02/ethercat
Thomas Petazzoni (1):
igh-ethercat: new package
package/Config.in | 1 +
package/igh-ethercat/Config.in | 23 +++++++++++++++++++
package/igh-ethercat/igh-ethercat.mk | 41 ++++++++++++++++++++++++++++++++++
3 files changed, 65 insertions(+), 0 deletions(-)
create mode 100644 package/igh-ethercat/Config.in
create mode 100644 package/igh-ethercat/igh-ethercat.mk
Thanks,
--
Thomas Petazzoni
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Buildroot] [PATCH 1/1] igh-ethercat: new package
2011-12-24 10:28 [Buildroot] [pull request] Pull request for branch for-2012.02/ethercat Thomas Petazzoni
@ 2011-12-24 10:28 ` Thomas Petazzoni
2012-01-02 13:21 ` Thomas De Schampheleire
2012-01-02 19:15 ` Peter Korsgaard
0 siblings, 2 replies; 4+ messages in thread
From: Thomas Petazzoni @ 2011-12-24 10:28 UTC (permalink / raw)
To: buildroot
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
package/Config.in | 1 +
package/igh-ethercat/Config.in | 23 +++++++++++++++++++
package/igh-ethercat/igh-ethercat.mk | 41 ++++++++++++++++++++++++++++++++++
3 files changed, 65 insertions(+), 0 deletions(-)
create mode 100644 package/igh-ethercat/Config.in
create mode 100644 package/igh-ethercat/igh-ethercat.mk
diff --git a/package/Config.in b/package/Config.in
index b6df18a..f7a5a13 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -431,6 +431,7 @@ source "package/hostapd/Config.in"
if BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
source "package/ifplugd/Config.in"
endif
+source "package/igh-ethercat/Config.in"
source "package/iperf/Config.in"
source "package/iproute2/Config.in"
source "package/ipsec-tools/Config.in"
diff --git a/package/igh-ethercat/Config.in b/package/igh-ethercat/Config.in
new file mode 100644
index 0000000..764a021
--- /dev/null
+++ b/package/igh-ethercat/Config.in
@@ -0,0 +1,23 @@
+config BR2_PACKAGE_IGH_ETHERCAT
+ bool "igh-ethercat"
+ depends on BR2_LINUX_KERNEL
+ help
+ IgH EtherCAT Master for Linux.
+
+ http://www.etherlab.org/en/ethercat/index.php
+
+if BR2_PACKAGE_IGH_ETHERCAT
+
+config BR2_PACKAGE_IGH_ETHERCAT_8139TOO
+ bool "8139too driver"
+
+config BR2_PACKAGE_IGH_ETHERCAT_E100
+ bool "e100 driver"
+
+config BR2_PACKAGE_IGH_ETHERCAT_E1000
+ bool "e1000 driver"
+
+config BR2_PACKAGE_IGH_ETHERCAT_R8169
+ bool "r8169 driver"
+
+endif
diff --git a/package/igh-ethercat/igh-ethercat.mk b/package/igh-ethercat/igh-ethercat.mk
new file mode 100644
index 0000000..b6ac5b8
--- /dev/null
+++ b/package/igh-ethercat/igh-ethercat.mk
@@ -0,0 +1,41 @@
+IGH_ETHERCAT_VERSION = stable-1.5
+IGH_ETHERCAT_SITE = http://etherlabmaster.hg.sourceforge.net/hgweb/etherlabmaster/etherlabmaster/archive/
+IGH_ETHERCAT_SOURCE = $(IGH_ETHERCAT_VERSION).tar.bz2
+
+IGH_ETHERCAT_AUTORECONF = YES
+IGH_ETHERCAT_DEPENDENCIES = linux
+IGH_ETHERCAT_INSTALL_STAGING = YES
+
+IGH_ETHERCAT_CONF_OPT = \
+ --with-linux-dir=$(LINUX_DIR)
+
+IGH_ETHERCAT_CONF_OPT += $(if $(BR2_PACKAGE_IGH_ETHERCAT_8139TOO),--enable-8139too,--disable-8139too)
+IGH_ETHERCAT_CONF_OPT += $(if $(BR2_PACKAGE_IGH_ETHERCAT_E100),--enable-e100,--disable-e100)
+IGH_ETHERCAT_CONF_OPT += $(if $(BR2_PACKAGE_IGH_ETHERCAT_E1000),--enable-e1000,--disable-e1000)
+IGH_ETHERCAT_CONF_OPT += $(if $(BR2_PACKAGE_IGH_ETHERCAT_R8169),--enable-r8169,--disable-r8169)
+
+# Since we download ethercat from source control, we have to emulate
+# the bootstrap script that creates the ChangeLog file before running
+# autoreconf. We don't want to run that script directly, since we
+# leave to the autotargets infrastructure the responsability of
+# running 'autoreconf' so that the dependencies on host-automake,
+# host-autoconf and al. are correct.
+define IGH_ETHERCAT_CREATE_CHANGELOG
+ touch $(@D)/ChangeLog
+endef
+
+IGH_ETHERCAT_POST_PATCH_HOOKS += IGH_ETHERCAT_CREATE_CHANGELOG
+
+define IGH_ETHERCAT_BUILD_MODULES
+ $(MAKE) -C $(@D) $(LINUX_MAKE_FLAGS) modules
+endef
+
+IGH_ETHERCAT_POST_BUILD_HOOKS += IGH_ETHERCAT_BUILD_MODULES
+
+define IGH_ETHERCAT_INSTALL_MODULES
+ $(MAKE) -C $(@D) $(LINUX_MAKE_FLAGS) modules_install
+endef
+
+IGH_ETHERCAT_POST_INSTALL_TARGET_HOOKS += IGH_ETHERCAT_INSTALL_MODULES
+
+$(eval $(call AUTOTARGETS))
--
1.7.4.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [Buildroot] [PATCH 1/1] igh-ethercat: new package
2011-12-24 10:28 ` [Buildroot] [PATCH 1/1] igh-ethercat: new package Thomas Petazzoni
@ 2012-01-02 13:21 ` Thomas De Schampheleire
2012-01-02 19:15 ` Peter Korsgaard
1 sibling, 0 replies; 4+ messages in thread
From: Thomas De Schampheleire @ 2012-01-02 13:21 UTC (permalink / raw)
To: buildroot
On Sat, Dec 24, 2011 at 11:28 AM, Thomas Petazzoni <
thomas.petazzoni@free-electrons.com> wrote:
> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
>
Reviewed-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
> ---
> package/Config.in | 1 +
> package/igh-ethercat/Config.in | 23 +++++++++++++++++++
> package/igh-ethercat/igh-ethercat.mk | 41
> ++++++++++++++++++++++++++++++++++
> 3 files changed, 65 insertions(+), 0 deletions(-)
> create mode 100644 package/igh-ethercat/Config.in
> create mode 100644 package/igh-ethercat/igh-ethercat.mk
>
> diff --git a/package/Config.in b/package/Config.in
> index b6df18a..f7a5a13 100644
> --- a/package/Config.in
> +++ b/package/Config.in
> @@ -431,6 +431,7 @@ source "package/hostapd/Config.in"
> if BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
> source "package/ifplugd/Config.in"
> endif
> +source "package/igh-ethercat/Config.in"
> source "package/iperf/Config.in"
> source "package/iproute2/Config.in"
> source "package/ipsec-tools/Config.in"
> diff --git a/package/igh-ethercat/Config.in
> b/package/igh-ethercat/Config.in
> new file mode 100644
> index 0000000..764a021
> --- /dev/null
> +++ b/package/igh-ethercat/Config.in
> @@ -0,0 +1,23 @@
> +config BR2_PACKAGE_IGH_ETHERCAT
> + bool "igh-ethercat"
> + depends on BR2_LINUX_KERNEL
> + help
> + IgH EtherCAT Master for Linux.
> +
> + http://www.etherlab.org/en/ethercat/index.php
> +
> +if BR2_PACKAGE_IGH_ETHERCAT
> +
> +config BR2_PACKAGE_IGH_ETHERCAT_8139TOO
> + bool "8139too driver"
> +
> +config BR2_PACKAGE_IGH_ETHERCAT_E100
> + bool "e100 driver"
> +
> +config BR2_PACKAGE_IGH_ETHERCAT_E1000
> + bool "e1000 driver"
> +
> +config BR2_PACKAGE_IGH_ETHERCAT_R8169
> + bool "r8169 driver"
> +
> +endif
> diff --git a/package/igh-ethercat/igh-ethercat.mk b/package/igh-ethercat/
> igh-ethercat.mk
> new file mode 100644
> index 0000000..b6ac5b8
> --- /dev/null
> +++ b/package/igh-ethercat/igh-ethercat.mk
> @@ -0,0 +1,41 @@
> +IGH_ETHERCAT_VERSION = stable-1.5
> +IGH_ETHERCAT_SITE =
> http://etherlabmaster.hg.sourceforge.net/hgweb/etherlabmaster/etherlabmaster/archive/
> +IGH_ETHERCAT_SOURCE = $(IGH_ETHERCAT_VERSION).tar.bz2
> +
> +IGH_ETHERCAT_AUTORECONF = YES
> +IGH_ETHERCAT_DEPENDENCIES = linux
> +IGH_ETHERCAT_INSTALL_STAGING = YES
> +
> +IGH_ETHERCAT_CONF_OPT = \
> + --with-linux-dir=$(LINUX_DIR)
> +
> +IGH_ETHERCAT_CONF_OPT += $(if
> $(BR2_PACKAGE_IGH_ETHERCAT_8139TOO),--enable-8139too,--disable-8139too)
> +IGH_ETHERCAT_CONF_OPT += $(if
> $(BR2_PACKAGE_IGH_ETHERCAT_E100),--enable-e100,--disable-e100)
> +IGH_ETHERCAT_CONF_OPT += $(if
> $(BR2_PACKAGE_IGH_ETHERCAT_E1000),--enable-e1000,--disable-e1000)
> +IGH_ETHERCAT_CONF_OPT += $(if
> $(BR2_PACKAGE_IGH_ETHERCAT_R8169),--enable-r8169,--disable-r8169)
> +
> +# Since we download ethercat from source control, we have to emulate
> +# the bootstrap script that creates the ChangeLog file before running
> +# autoreconf. We don't want to run that script directly, since we
> +# leave to the autotargets infrastructure the responsability of
> +# running 'autoreconf' so that the dependencies on host-automake,
> +# host-autoconf and al. are correct.
> +define IGH_ETHERCAT_CREATE_CHANGELOG
> + touch $(@D)/ChangeLog
> +endef
> +
> +IGH_ETHERCAT_POST_PATCH_HOOKS += IGH_ETHERCAT_CREATE_CHANGELOG
> +
> +define IGH_ETHERCAT_BUILD_MODULES
> + $(MAKE) -C $(@D) $(LINUX_MAKE_FLAGS) modules
> +endef
> +
> +IGH_ETHERCAT_POST_BUILD_HOOKS += IGH_ETHERCAT_BUILD_MODULES
> +
> +define IGH_ETHERCAT_INSTALL_MODULES
> + $(MAKE) -C $(@D) $(LINUX_MAKE_FLAGS) modules_install
> +endef
> +
> +IGH_ETHERCAT_POST_INSTALL_TARGET_HOOKS += IGH_ETHERCAT_INSTALL_MODULES
> +
> +$(eval $(call AUTOTARGETS))
> --
> 1.7.4.1
>
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20120102/7de569d9/attachment-0001.html>
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Buildroot] [PATCH 1/1] igh-ethercat: new package
2011-12-24 10:28 ` [Buildroot] [PATCH 1/1] igh-ethercat: new package Thomas Petazzoni
2012-01-02 13:21 ` Thomas De Schampheleire
@ 2012-01-02 19:15 ` Peter Korsgaard
1 sibling, 0 replies; 4+ messages in thread
From: Peter Korsgaard @ 2012-01-02 19:15 UTC (permalink / raw)
To: buildroot
>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@free-electrons.com> writes:
Thomas> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Committed, thanks.
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2012-01-02 19:15 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-12-24 10:28 [Buildroot] [pull request] Pull request for branch for-2012.02/ethercat Thomas Petazzoni
2011-12-24 10:28 ` [Buildroot] [PATCH 1/1] igh-ethercat: new package Thomas Petazzoni
2012-01-02 13:21 ` Thomas De Schampheleire
2012-01-02 19:15 ` Peter Korsgaard
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox