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>
This commit is contained in:
Tom Rini 2011-03-31 10:36:40 -07:00 committed by Richard Purdie
parent 4febd376ed
commit b77e9b6edc
1 changed files with 1 additions and 5 deletions

View File

@ -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/.