summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorTom Rini <tom_rini@mentor.com>2011-03-31 10:36:40 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-04-04 14:10:00 +0100
commitb77e9b6edc028a00c8cc115fb04f92df3630edef (patch)
tree4ba81ad39ca7fbe197af8859336f3d3602c97749 /meta
parent4febd376ed5e64dd5e1b7050d3c970be1476441a (diff)
downloadpoky-b77e9b6edc028a00c8cc115fb04f92df3630edef.tar.gz
db: Switch to patchdir rather than applying in do_configure
(From OE-Core rev: 63a4bfa9f62e3b185676884258e7c8cc89ac7a23) Signed-off-by: Tom Rini <tom_rini@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-support/db/db_5.1.19.bb6
1 files changed, 1 insertions, 5 deletions
diff --git a/meta/recipes-support/db/db_5.1.19.bb b/meta/recipes-support/db/db_5.1.19.bb
index 94ce180cf9..7b7c4dd75f 100644
--- a/meta/recipes-support/db/db_5.1.19.bb
+++ b/meta/recipes-support/db/db_5.1.19.bb
@@ -17,7 +17,7 @@ CONFLICTS = "db3"
17PR = "r2" 17PR = "r2"
18 18
19SRC_URI = "http://download.oracle.com/berkeley-db/db-${PV}.tar.gz" 19SRC_URI = "http://download.oracle.com/berkeley-db/db-${PV}.tar.gz"
20SRC_URI += "file://arm-thumb-mutex_db5.patch;apply=no" 20SRC_URI += "file://arm-thumb-mutex_db5.patch;patchdir=.."
21 21
22SRC_URI[md5sum] = "76fcbfeebfcd09ba0b4d96bfdf8d884d" 22SRC_URI[md5sum] = "76fcbfeebfcd09ba0b4d96bfdf8d884d"
23SRC_URI[sha256sum] = "0194d4ca9266ba1a1c0bfbc233b18bfd05f63163453c81ebcdfdc7112d5ac850" 23SRC_URI[sha256sum] = "0194d4ca9266ba1a1c0bfbc233b18bfd05f63163453c81ebcdfdc7112d5ac850"
@@ -79,10 +79,6 @@ do_configure() {
79 oe_runconf 79 oe_runconf
80} 80}
81 81
82do_patch_append() {
83 os.system("cd ${S}/.. ; patch -p1 -i ${WORKDIR}/arm-thumb-mutex_db5.patch")
84}
85
86do_install_append() { 82do_install_append() {
87 mkdir -p ${D}/${includedir}/db51 83 mkdir -p ${D}/${includedir}/db51
88 #mv ${D}/${includedir}/db_185.h ${D}/${includedir}/db51/. 84 #mv ${D}/${includedir}/db_185.h ${D}/${includedir}/db51/.