diff options
| author | Richard Purdie <rpurdie@linux.intel.com> | 2010-09-01 19:09:11 +0100 |
|---|---|---|
| committer | Richard Purdie <rpurdie@linux.intel.com> | 2010-09-01 19:09:57 +0100 |
| commit | d62ee7eaf2ba025c3f64b2d4e10dc7cec4637612 (patch) | |
| tree | f36fe3008f36ff75cbdd31b630f8f13f1f205ebb /meta/recipes-support/liboil | |
| parent | caab7fc509bf27706ff3248689f6afd04225cfda (diff) | |
| download | poky-d62ee7eaf2ba025c3f64b2d4e10dc7cec4637612.tar.gz | |
packages: Separate out most of the remaining packages into recipes
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta/recipes-support/liboil')
| -rw-r--r-- | meta/recipes-support/liboil/liboil-0.3.17/no-tests.patch | 22 | ||||
| -rw-r--r-- | meta/recipes-support/liboil/liboil_0.3.17.bb | 20 |
2 files changed, 42 insertions, 0 deletions
diff --git a/meta/recipes-support/liboil/liboil-0.3.17/no-tests.patch b/meta/recipes-support/liboil/liboil-0.3.17/no-tests.patch new file mode 100644 index 0000000000..00cf5d7431 --- /dev/null +++ b/meta/recipes-support/liboil/liboil-0.3.17/no-tests.patch | |||
| @@ -0,0 +1,22 @@ | |||
| 1 | --- liboil-0.3.9/liboil/liboilfunction.c.old 2006-09-18 13:03:20.000000000 +0100 | ||
| 2 | +++ liboil-0.3.9/liboil/liboilfunction.c 2006-09-18 13:04:10.000000000 +0100 | ||
| 3 | @@ -345,7 +345,9 @@ | ||
| 4 | return; | ||
| 5 | } | ||
| 6 | |||
| 7 | - test = oil_test_new (klass); | ||
| 8 | + klass->chosen_impl = klass->reference_impl; | ||
| 9 | + klass->func = klass->reference_impl->func; | ||
| 10 | +/* test = oil_test_new (klass); | ||
| 11 | if (test == NULL) { | ||
| 12 | OIL_ERROR ("failed to test function class %s", klass->name); | ||
| 13 | return; | ||
| 14 | @@ -385,7 +387,7 @@ | ||
| 15 | klass->chosen_impl = min_impl; | ||
| 16 | klass->func = min_impl->func; | ||
| 17 | |||
| 18 | - oil_test_free (test); | ||
| 19 | + oil_test_free (test);*/ | ||
| 20 | } | ||
| 21 | |||
| 22 | static void | ||
diff --git a/meta/recipes-support/liboil/liboil_0.3.17.bb b/meta/recipes-support/liboil/liboil_0.3.17.bb new file mode 100644 index 0000000000..8ba303069d --- /dev/null +++ b/meta/recipes-support/liboil/liboil_0.3.17.bb | |||
| @@ -0,0 +1,20 @@ | |||
| 1 | DESCRIPTION = "Liboil is a library of simple functions that are optimized for various CPUs." | ||
| 2 | HOMEPAGE = "http://liboil.freedesktop.org/" | ||
| 3 | BUGTRACKER = "https://bugs.freedesktop.org/" | ||
| 4 | |||
| 5 | LICENSE = "BSD" | ||
| 6 | LIC_FILES_CHKSUM = "file://COPYING;md5=ad80780d9c5205d63481a0184e199a15 \ | ||
| 7 | file://liboil/liboil.h;endline=28;md5=95c794a66b88800d949fed17e437d9fb \ | ||
| 8 | file://liboil/liboilcpu.c;endline=28;md5=89da69a61d88eedcba066f42353fb75a \ | ||
| 9 | file://examples/example1.c;endline=29;md5=9d4dad9fcbbdf0441ee063f8af5170c9 \ | ||
| 10 | file://testsuite/trans.c;endline=29;md5=380ecd43121fe3dcc0d8d7e5984f283d" | ||
| 11 | |||
| 12 | DEPENDS = "glib-2.0" | ||
| 13 | PR = "r2" | ||
| 14 | |||
| 15 | SRC_URI = "http://liboil.freedesktop.org/download/${P}.tar.gz \ | ||
| 16 | file://no-tests.patch;patch=1" | ||
| 17 | |||
| 18 | inherit autotools pkgconfig | ||
| 19 | |||
| 20 | ARM_INSTRUCTION_SET = "arm" | ||
