[oe] HAL and pci +acpi

Koen Kooi k.kooi at student.utwente.nl
Sun Sep 23 09:05:36 UTC 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

The current HAL recipe disables pci and acpi, which isn't nice for machines that support
either of them. I want to propose the following:

# machines with pci and acpi get a machine specific hal
EXTRA_OECONF = "--with-hwdata=${datadir}/hwdata \
                --with-expat=${STAGING_LIBDIR}/.. \
                --with-dbus-sys=${sysconfdir}/dbus-1/system.d \
                --with-hotplug=${sysconfdir}/hotplug.d \
                --disable-docbook-docs \
                --disable-policy-kit \
                --disable-pmu \
                --disable-pnp-ids \
                ${@base_contains('COMBINED_FEATURES', 'pci', '--enable-pci
- --enable-pci-ids', '--disable-pci --disable-pci-ids',d)} \
                ${@base_contains('MACHINE_FEATURES', 'acpi', '--enable-acpi',
'--disable-acpi',d)} \
               "

MY_ARCH := "${PACKAGE_ARCH}"
PACKAGE_ARCH = "${@base_contains('MACHINE_FEATURES', 'acpi', '${MACHINE_ARCH}',
'${MY_ARCH}',d)}"
PACKAGE_ARCH = "${@base_contains('MACHINE_FEATURES', 'pci', '${MACHINE_ARCH}',
'${MY_ARCH}',d)}"

what do you think?

regards,

Koen
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFG9ixgMkyGM64RGpERAks3AJoCIJjatJo0frdWZMVP2Fp+IaBX0QCgjcxt
pEBKzMB/nLnhdoohBYM12Gs=
=thfw
-----END PGP SIGNATURE-----




More information about the Openembedded-devel mailing list