6 Commits
Author SHA1 Message Date
Conrad Kostecki a9bb6cf862 Add Gentoo systemd unit
Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
2024-01-14 00:37:22 +01:00
Conrad Kostecki 4397e142db Update Gentoo initd/confd files
Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
2024-01-14 00:36:41 +01:00
Conrad Kostecki 1fbf13f5c9 configure.ac: guard docs behind an option
Currently, docs are automatically build, if doxygen is being found. This
should be an option, as in Gentoo, we want to control this via use flag,
if someone wants to have docs, even, if doxygen is installed.

Default is still being yes, so it can be optionally disbled.

Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
2024-01-13 22:43:00 +01:00
Conrad Kostecki 80792ff12a src/{ebusd,tools}/CMakeLists.txt: remove usr path
/usr should not be hardcoded, as otherwise this will cause a double
prefix during installation.

The correct prefix is already being handled by CMAKE_INSTALL_PREFIX.

Example:
>>> /usr/usr/bin/ebuspicloader
>>> /usr/usr/bin/ebusctl
>>> /usr/usr/bin/ebusd

Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
2024-01-13 21:59:58 +01:00
Conrad Kostecki fcb8066624 CMakeLists.txt: add BUILD_SHARED_LIBS=OFF
This disabled shared libs, as otherwise the compilation could fail.
The installed binary files are still dynamically linked, as this affects
only internal linking here.

Closes: https://github.com/john30/ebusd/issues/1132
Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
2024-01-13 21:44:48 +01:00
Conrad Kostecki 6c2d102544 configure.ac: quote CXXFLAGS
CXXCLAGS needs to be quote, as otherwise the test could fail on some
CXXFLAGS like '-mfpmath=sse,387'

test: syntax error: `-mfpmath=sse,387' unexpected

Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
2024-01-13 21:33:28 +01:00