On 13 July 2012 11:03, Ricardo Salveti
<ricardo.salveti@linaro.org> wrote:
As we will have libpci available at most distros by default, isn't
there a way of doing run-time detection instead of disabling it at
build time?
This patch disables powertop PCI support only when libpci is not
available on a system. Nothing specific to ARM platforms.
I don't think it can be done at run-time. Without this patch if libpci
is not available, powertop compilation itself will fail.
This is just because we'll be getting more and more ARM boards which
have PCI-e as well, so we'll need to handle systems with and without
any PCI available.
Cheers,
--
Ricardo Salveti de Araujo