diff options
author | Tom Rini <tom_rini@mentor.com> | 2011-03-31 10:36:40 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-04-04 14:10:00 +0100 |
commit | b77e9b6edc028a00c8cc115fb04f92df3630edef (patch) | |
tree | 4ba81ad39ca7fbe197af8859336f3d3602c97749 /meta | |
parent | 4febd376ed5e64dd5e1b7050d3c970be1476441a (diff) | |
download | poky-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.bb | 6 |
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" | |||
17 | PR = "r2" | 17 | PR = "r2" |
18 | 18 | ||
19 | SRC_URI = "http://download.oracle.com/berkeley-db/db-${PV}.tar.gz" | 19 | SRC_URI = "http://download.oracle.com/berkeley-db/db-${PV}.tar.gz" |
20 | SRC_URI += "file://arm-thumb-mutex_db5.patch;apply=no" | 20 | SRC_URI += "file://arm-thumb-mutex_db5.patch;patchdir=.." |
21 | 21 | ||
22 | SRC_URI[md5sum] = "76fcbfeebfcd09ba0b4d96bfdf8d884d" | 22 | SRC_URI[md5sum] = "76fcbfeebfcd09ba0b4d96bfdf8d884d" |
23 | SRC_URI[sha256sum] = "0194d4ca9266ba1a1c0bfbc233b18bfd05f63163453c81ebcdfdc7112d5ac850" | 23 | SRC_URI[sha256sum] = "0194d4ca9266ba1a1c0bfbc233b18bfd05f63163453c81ebcdfdc7112d5ac850" |
@@ -79,10 +79,6 @@ do_configure() { | |||
79 | oe_runconf | 79 | oe_runconf |
80 | } | 80 | } |
81 | 81 | ||
82 | do_patch_append() { | ||
83 | os.system("cd ${S}/.. ; patch -p1 -i ${WORKDIR}/arm-thumb-mutex_db5.patch") | ||
84 | } | ||
85 | |||
86 | do_install_append() { | 82 | do_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/. |