From 4e3165e4bbb28bc765397588c69f67f7f37338d3 Mon Sep 17 00:00:00 2001 From: Koen Kooi Date: Mon, 18 May 2009 14:23:59 +0200 Subject: hal: add (disabled) hal 0.5.12 --- recipes/hal/hal.inc | 4 +++- recipes/hal/hal_0.5.12.bb | 11 +++++++++++ 2 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 recipes/hal/hal_0.5.12.bb (limited to 'recipes') 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 " | ${CPP} - | \ + grep "linux\/input.h" | head -n 1 | awk -F '"' '{print $2}'` + autotools_do_configure --with-linux-input-header=${linux_input_h} +} -- cgit v1.2.3