Commit Graph

2360 Commits

Author SHA1 Message Date
Bjarne von Horn 341e5d8a38 switch to prebuilt container 2021-06-18 16:00:29 +02:00
Florian Pose 1fa5565aa0 Ignore cmake output. 2021-06-09 13:56:01 +02:00
Florian Pose 491bc99f95 Merge branch 'add_cmake_helper' into 'stable-1.5'
Add cmake config module

See merge request etherlab.org/ethercat!19
2021-06-09 11:49:01 +00:00
Bjarne von Horn a0ba01ae74 Add cmake config module 2021-06-09 11:49:01 +00:00
Florian Pose bd0612d6aa Merge branch 'fix-m4-Makefile' into 'stable-1.5'
Remove empty m4/Makefile.am

See merge request etherlab.org/ethercat!17
2021-06-07 12:56:48 +00:00
Nicola Fontana d23b8ae258 Remove empty m4/Makefile.am 2021-06-07 14:42:43 +02:00
Florian Pose 72d7469857 Merge branch 'fix-make-distclean' into 'stable-1.5'
Fix #5: call Kbuild clean only where needed

Closes #5

See merge request etherlab.org/ethercat!16
2021-06-04 08:42:59 +00:00
Florian Pose 81cdcb0ec8 Merge branch 'dist-subdirs' into 'stable-1.5'
More autotools cleanups

See merge request etherlab.org/ethercat!15
2021-06-04 08:41:39 +00:00
Florian Pose 81f7c042e2 Merge branch 'test-rescan-fix' into 'stable-1.5'
Retry responding slaves datagram; more robust to timeouts.

See merge request etherlab.org/ethercat!18
2021-06-04 08:38:28 +00:00
Florian Pose 94f2fa860f Retry responding slaves datagram; more robust to timeouts. 2021-06-01 16:53:06 +02:00
Nicola Fontana 908b93f004 Fix #5: call Kbuild clean only where needed
The problem is both automake and kbuild recurse into subdirectories. In
`make distcheck`, automake cleans its `SUBDIRS` and only then tries to
clean the toplevel one. This in turn will trigger a kbuild clean that
will try to recurse into its own (now empty) subdirectories.

Avoid this issue by removing Kbuild clean from the toplevel.
2021-05-30 09:49:17 +02:00
Nicola Fontana 205337fed1 Do not define DIST_SUBDIRS when not needed
DIST_SUBDIRS is automatically populated with all possible values of
SUBDIRS in all conditions:

    https://www.gnu.org/software/automake/manual/html_node/SUBDIRS-vs-DIST_005fSUBDIRS.html

This means it is usually not needed to explicitely set it but in
examples/, where some dirs are never added to SUBDIRS.
2021-05-26 09:18:06 +02:00
Nicola Fontana 6c6dccc378 Disable 8139too in distcheck
The 8139too native driver was enabled by default for historical reasons.
Disable it in `make distcheck` to avoid needing to have a specific linux
source tree ready available.
2021-05-25 20:14:09 +02:00
Florian Pose 6d37c445ab Merge branch 'fix-e1000e-extra-dist' into 'stable-1.5'
Fix EXTRA_DIST files for e1000e

See merge request etherlab.org/ethercat!14
2021-05-25 10:47:37 +00:00
Florian Pose 9abf331414 Merge branch 'entidi/ethercat-remove-sram-gpio-from-dist' into stable-1.5 2021-05-25 12:46:54 +02:00
Florian Pose 0f6e2e19ec Merge branch 'stable-1.5' into 'remove-sram-gpio-from-dist'
# Conflicts:
#   devices/ccat/Makefile.am
2021-05-25 10:43:53 +00:00
Florian Pose 7dd06f87c1 Merge branch 'entidi/ethercat-fix-built-sources' into stable-1.5 2021-05-25 12:26:09 +02:00
Florian Pose 77d9cb32ce Docs: UTF-8 encoding; latest komascript packages. 2021-05-25 11:56:00 +02:00
Florian Pose 4164e10ccd Merge branch 'entidi/ethercat-proper-systemd-support' into stable-1.5 2021-05-25 11:39:48 +02:00
Florian Pose 301f3e34b1 Added systemd directory switch to docs. 2021-05-25 11:37:52 +02:00
Nicola Fontana b2b34133b8 Fix EXTRA_DIST files for e1000e
In `devices/e1000e/Makefile.am` there was a really sneaky double
backslash that messed up the whole EXTRA_DIST list.
2021-05-22 20:14:11 +02:00
Nicola Fontana 9da3b1ab40 Fix #4: remove sram.h and gpio.h from EXTRA_DIST
`sram.h` is not referenced anywhere (or, better, `grep -ir sram.h` does
not return any matching result) while `gpio.h` is included with
`<linux/gpio.h>`, suggesting the system header file is used.
2021-05-22 11:57:39 +02:00
Nicola Fontana 60dd78485c Do not include AC_CONFIG_FILES in BUILT_SOURCES
BUILT_SOURCES is used to trigger early generation of files in the `make`
process to workaround dependency problems:

    https://www.gnu.org/software/automake/manual/html_node/Sources.html

AC_CONFIG_FILES are generated by `configure`, so they are already
present in the file system even before `make` is called. Furthermore,
AC_CONFIG_FILES already properly handle dist and clean targets, so no
need to add them to EXTRA_DIST or DISTCLEANFILES:

    https://www.gnu.org/software/automake/manual/html_node/Requirements.html
2021-05-22 08:25:26 +02:00
Nicola Fontana 2a5529a8e9 Ignore generated libethercat.pc in git 2021-05-22 07:46:59 +02:00
Nicola Fontana 1d65f6617f Proper systemd support
Follow the directions on integrating systemd with autotools provided by
the systemd documentation itself:

https://www.freedesktop.org/software/systemd/man/daemon.html#Installing%20systemd%20Service%20Files

The snippet has been adapted to better match our coding style, e.g.
directly use of `if` instead of `AS_IF`.
2021-05-22 07:22:57 +02:00
Florian Pose c6a4c99854 Fixed format string in tty example. 2021-05-06 12:00:35 +02:00
Florian Pose 779437feef Merge branch 'translate-to-french' into 'stable-1.5'
documentation: add French translation

See merge request etherlab.org/ethercat!10
2021-04-21 09:26:02 +00:00
Sebastien BLANCHET 6350d7b5eb documentation: add French translation 2021-04-20 19:18:30 +02:00
Florian Pose 0ece56739b Merge branch 'fix-typo' into 'stable-1.5'
fix typo

See merge request etherlab.org/ethercat!9
2021-04-09 17:29:56 +00:00
Sebastien BLANCHET 224b7f238b fix typo 2021-04-09 19:07:29 +02:00
Florian Pose 708adaad0d Update .gitlab-ci.yml 2021-04-09 16:11:19 +00:00
Florian Pose 845437f982 Update .gitlab-ci.yml 2021-04-09 15:38:21 +00:00
Florian Pose a040c9c16c Update .gitlab-ci.yml 2021-04-09 14:39:27 +00:00
Florian Pose 537fe56414 Update .gitlab-ci.yml 2021-04-09 14:02:33 +00:00
Florian Pose 14ed629e3c Update .gitlab-ci.yml file 2021-04-09 13:58:52 +00:00
Florian Pose da6f728ef9 Merge branch 'fix-doc' into 'stable-1.5'
doc: misc improvements

See merge request etherlab.org/ethercat!8
2021-04-09 10:32:20 +00:00
Florian Pose ddf59092a9 Merge branch 'add_pkg_config' into 'stable-1.5'
Add .pc file for ethercat lib

See merge request etherlab.org/ethercat!7
2021-04-09 10:30:53 +00:00
Florian Pose fa1012826a Merge branch 'INSTALL-typo' into 'stable-1.5'
Fix small typo in INSTALL

See merge request etherlab.org/ethercat!6
2021-04-09 10:29:27 +00:00
Florian Pose 6ad16e7e67 Added kernel-specific handling for init_timer/setup_timer and
access_ok() for ec_tty module and example.
Closes #2.
2021-04-09 12:26:08 +02:00
Sebastien BLANCHET c76c83fbe2 doc: promote \subsection to \section in chapter "Timing Aspects"
The chapter "Timing Aspects" had \subsection but not \section
Therefore, promote all \subsection to \section
2021-04-08 18:58:04 +02:00
Sebastien BLANCHET 751f0de50e doc: compile twice the documentation to update the TOC
If you compile once the documentation, the table of contents is empty
You have to compile twice to fill the table of contents.
2021-04-08 18:57:53 +02:00
Bjarne von Horn 566e9289c3 Add .pc file for ethercat lib 2021-04-08 17:35:04 +02:00
Nicola Fontana ed8f6cd9e1 Fix small typo in INSTALL 2021-04-07 16:49:42 +02:00
Florian Pose f5d64bbab7 Merge commit '4319ca2363c3352d76a49ff6255a36a6f8fe451f' into stable-1.5 2021-04-06 13:03:41 +02:00
Florian Pose 75ae83ca30 Updated TODOs. 2021-04-06 13:02:53 +02:00
Florian Pose 4319ca2363 Updated TODOs. 2021-04-06 12:49:18 +02:00
Florian Pose f8b05b7c52 Merge branch 'fix-doc' into 'stable-1.5'
Fix doc

See merge request etherlab.org/ethercat!4
2021-04-06 10:17:23 +00:00
Sebastien Blanchet 6f4c28fe5b doc: fix typographic error 2021-04-03 22:31:48 +02:00
Sebastien BLANCHET 928694a998 doc: add missing word 2021-03-28 22:16:42 +02:00
Sebastien Blanchet 1e5ddf45d8 doc: fix misspelling 2021-03-28 22:11:42 +02:00