aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2009-12-17 21:30:21 +0000
committerRichard Purdie <rpurdie@linux.intel.com>2010-05-05 14:45:22 +0100
commitd80c2eb37103e6f6cef0b2df387b84b2472f455f (patch)
tree7ee92e61a0dbc0e6512bbf5172386d9adaf6852d
parent4cf6a6bf83ccb13e7238927d72e77c4612fe6543 (diff)
downloadopenembedded-d80c2eb37103e6f6cef0b2df387b84b2472f455f.tar.gz
module-init-tools: Convert from legacy staging function (from Poky)
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
-rw-r--r--recipes/module-init-tools/module-init-tools-cross_3.2.2.bb10
-rw-r--r--recipes/module-init-tools/module-init-tools.inc1
2 files changed, 2 insertions, 9 deletions
diff --git a/recipes/module-init-tools/module-init-tools-cross_3.2.2.bb b/recipes/module-init-tools/module-init-tools-cross_3.2.2.bb
index b4bf6127bd..4fa5bf4bb1 100644
--- a/recipes/module-init-tools/module-init-tools-cross_3.2.2.bb
+++ b/recipes/module-init-tools/module-init-tools-cross_3.2.2.bb
@@ -1,4 +1,3 @@
-
require module-init-tools.inc
inherit cross
DEFAULT_PREFERENCE = "0"
@@ -10,13 +9,8 @@ RDEPENDS_${PN} = ""
EXTRA_OECONF_append = " --program-prefix=${TARGET_PREFIX}"
-do_stage () {
- oe_runmake install
- mv ${bindir}/${TARGET_PREFIX}depmod ${bindir}/${TARGET_PREFIX}depmod-2.6
-}
-
-do_install () {
- :
+do_install_append () {
+ mv ${D}${bindir}/${TARGET_PREFIX}depmod ${D}${bindir}/${TARGET_PREFIX}depmod-2.6
}
SRC_URI[md5sum] = "a1ad0a09d3231673f70d631f3f5040e9"
diff --git a/recipes/module-init-tools/module-init-tools.inc b/recipes/module-init-tools/module-init-tools.inc
index 9ad925f82b..86ce75a9a0 100644
--- a/recipes/module-init-tools/module-init-tools.inc
+++ b/recipes/module-init-tools/module-init-tools.inc
@@ -21,5 +21,4 @@ S = "${WORKDIR}/module-init-tools-${PV}"
EXTRA_OECONF = "--disable-manpages"
-
inherit autotools