diff options
author | Koen Kooi <koen@openembedded.org> | 2009-05-18 14:23:59 +0200 |
---|---|---|
committer | Koen Kooi <koen@openembedded.org> | 2009-05-18 14:23:59 +0200 |
commit | 4e3165e4bbb28bc765397588c69f67f7f37338d3 (patch) | |
tree | e3097d1d572acfb713c5af17b9442106af8d440e /recipes | |
parent | 3d1136959ad0b77bdb37a418f17925bd5b8bcd05 (diff) |
hal: add (disabled) hal 0.5.12
Diffstat (limited to 'recipes')
-rw-r--r-- | recipes/hal/hal.inc | 4 | ||||
-rw-r--r-- | recipes/hal/hal_0.5.12.bb | 11 |
2 files changed, 14 insertions, 1 deletions
diff --git a/recipes/hal/hal.inc b/recipes/hal/hal.inc index d17907ae79..da24afe25a 100644 --- a/recipes/hal/hal.inc +++ b/recipes/hal/hal.inc @@ -9,8 +9,9 @@ S = "${WORKDIR}/hal-${PV}" inherit autotools pkgconfig -DEPENDS = "virtual/kernel dbus-glib udev intltool intltool-native expat libusb gperf-native" +DEPENDS = "virtual/kernel util-linux-ng dbus-glib udev intltool intltool-native expat libusb gperf-native" RDEPENDS += "hal-info udev-utils" +RRECOMMENDS += "eject" SRC_URI += "file://99_hal \ file://20hal \ @@ -27,6 +28,7 @@ EXTRA_OECONF = "--with-hwdata=${datadir}/hwdata \ --disable-policy-kit \ --disable-pmu \ --disable-pnp-ids \ + --with-udev-prefix=${sysconfdir} \ ${@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)} \ " diff --git a/recipes/hal/hal_0.5.12.bb b/recipes/hal/hal_0.5.12.bb new file mode 100644 index 0000000000..b6531e8235 --- /dev/null +++ b/recipes/hal/hal_0.5.12.bb @@ -0,0 +1,11 @@ +require hal.inc + +DEFAULT_PREFERENCE = "-1" + +# The following code finds the right linux/input.h, +# which also works with external-toolchain/SDK +do_configure() { + linux_input_h=`echo "#include <linux/input.h>" | ${CPP} - | \ + grep "linux\/input.h" | head -n 1 | awk -F '"' '{print $2}'` + autotools_do_configure --with-linux-input-header=${linux_input_h} +} |