trinity-devel@lists.pearsoncomputing.net

Message: previous - next
Month: January 2014

Re: [trinity-devel] Warning: Changing WITH_HAL and WITH_TDEHWLIB configuration defaults

From: Slávek Banko <slavek.banko@...>
Date: Tue, 21 Jan 2014 01:13:02 +0100
On Tuesday 21 of January 2014 00:24:24 Darrell Anderson wrote:
> Per bug report 1838, we are changing the defaults in tdebase
> CMakeLists.txt.
>
> Please remember to verify your tdebase build scripts. :)
>
> If building for mixed distro releases, consider something like the
> following in the build script:
>
> if [ -x /usr/sbin/hald ]; then
>   BUILD_HAL=${BUILD_HAL:-ON}
>   BUILD_TDEHWLIB=${BUILD_TDEHWLIB:-OFF}
> else
>   BUILD_HAL=${BUILD_HAL:-OFF}
>   BUILD_TDEHWLIB=${BUILD_TDEHWLIB:-ON}
> fi
> ...
> cmake $SOURCES_ROOT \
> ...
>   -DWITH_HAL=${BUILD_HAL} \
>   -DWITH_TDEHWLIB=${BUILD_TDEHWLIB} \
> ...
>
>
> Darrell
>

The fact that the 'hal' is present does not mean it is not desirable to give 
priority tdehw-library! By the way, for the power-management functions 
(suspend / hibernate / cpu governor / ...) in tdehw-library can be used hal 
as a backend :)

Slavek
--