]> code.ossystems Code Review - openembedded-core.git/commitdiff
db: Switch to patchdir rather than applying in do_configure
authorTom Rini <tom_rini@mentor.com>
Thu, 31 Mar 2011 17:36:40 +0000 (10:36 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 4 Apr 2011 12:57:23 +0000 (13:57 +0100)
Signed-off-by: Tom Rini <tom_rini@mentor.com>
meta/recipes-support/db/db_5.1.19.bb

index 94ce180cf9695fdc792137a955a80e1cda5f3784..7b7c4dd75fd3d6fedc38d33036d50da71f038338 100644 (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/.