summaryrefslogtreecommitdiff
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 13:57:23 +0100
commit63a4bfa9f62e3b185676884258e7c8cc89ac7a23 (patch)
tree2456e7fbf650aa1d0f50e131c86dafba51d2a3d0 /meta
parent01e4609ee8441c8212725fd062782313caae0708 (diff)
downloadopenembedded-core-63a4bfa9f62e3b185676884258e7c8cc89ac7a23.tar.gz
openembedded-core-63a4bfa9f62e3b185676884258e7c8cc89ac7a23.tar.bz2
openembedded-core-63a4bfa9f62e3b185676884258e7c8cc89ac7a23.zip
db: Switch to patchdir rather than applying in do_configure
Signed-off-by: Tom Rini <tom_rini@mentor.com>
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"
PR = "r2"
SRC_URI = "http://download.oracle.com/berkeley-db/db-${PV}.tar.gz"
-SRC_URI += "file://arm-thumb-mutex_db5.patch;apply=no"
+SRC_URI += "file://arm-thumb-mutex_db5.patch;patchdir=.."
SRC_URI[md5sum] = "76fcbfeebfcd09ba0b4d96bfdf8d884d"
SRC_URI[sha256sum] = "0194d4ca9266ba1a1c0bfbc233b18bfd05f63163453c81ebcdfdc7112d5ac850"
@@ -79,10 +79,6 @@ do_configure() {
oe_runconf
}
-do_patch_append() {
- os.system("cd ${S}/.. ; patch -p1 -i ${WORKDIR}/arm-thumb-mutex_db5.patch")
-}
-
do_install_append() {
mkdir -p ${D}/${includedir}/db51
#mv ${D}/${includedir}/db_185.h ${D}/${includedir}/db51/.