diff options
author | Jackie Huang <jackie.huang@windriver.com> | 2015-09-22 17:16:13 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-10-01 07:43:34 +0100 |
commit | 7a6cb2ed3a6250d0b3708c46eaef234bd1a55fff (patch) | |
tree | 85f790546c211244f89eb1e44532b664f75aaf2e | |
parent | 1222eb18aaecfba95c7b42f013d9c5e2924fcecc (diff) | |
download | poky-7a6cb2ed3a6250d0b3708c46eaef234bd1a55fff.tar.gz |
cwautomacros: cleanup buildpath in autogen.sh
CWAUTOMACROSPREFIX is ${D}${prefix} which is used as the prefix
of install dir and used to replace the path placeholder in script
autogen.sh, the former is correct but not for the later, we can
fix the Makefile to use two variables for this, but I think a sed
replacement would be fine since the package has not been in
development for a long time.
(From OE-Core rev: bc4dfe74ecd8d4f233baf16325dae31972da269a)
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/recipes-extended/cwautomacros/cwautomacros_20110201.bb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/recipes-extended/cwautomacros/cwautomacros_20110201.bb b/meta/recipes-extended/cwautomacros/cwautomacros_20110201.bb index 43ea3ce382..65a99fc28d 100644 --- a/meta/recipes-extended/cwautomacros/cwautomacros_20110201.bb +++ b/meta/recipes-extended/cwautomacros/cwautomacros_20110201.bb | |||
@@ -14,6 +14,9 @@ do_configure() { | |||
14 | 14 | ||
15 | do_install() { | 15 | do_install() { |
16 | oe_runmake CWAUTOMACROSPREFIX=${D}${prefix} install | 16 | oe_runmake CWAUTOMACROSPREFIX=${D}${prefix} install |
17 | |||
18 | # cleanup buildpaths in autogen.sh | ||
19 | sed -i -e 's,${D},,g' ${D}${prefix}/share/cwautomacros/scripts/autogen.sh | ||
17 | } | 20 | } |
18 | 21 | ||
19 | BBCLASSEXTEND = "native" | 22 | BBCLASSEXTEND = "native" |