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:40:22 +0100 |
commit | bc4dfe74ecd8d4f233baf16325dae31972da269a (patch) | |
tree | 39d44b0d6266573a5b0775757692b11b022e98a7 /meta/recipes-extended/cwautomacros | |
parent | 2bc7732c27e192821b9ebb76e1dfba739cf5b088 (diff) | |
download | openembedded-core-contrib-bc4dfe74ecd8d4f233baf16325dae31972da269a.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.
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>
Diffstat (limited to 'meta/recipes-extended/cwautomacros')
-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 43ea3ce382b..65a99fc28d7 100644 --- a/meta/recipes-extended/cwautomacros/cwautomacros_20110201.bb +++ b/meta/recipes-extended/cwautomacros/cwautomacros_20110201.bb @@ -14,6 +14,9 @@ do_configure() { do_install() { oe_runmake CWAUTOMACROSPREFIX=${D}${prefix} install + + # cleanup buildpaths in autogen.sh + sed -i -e 's,${D},,g' ${D}${prefix}/share/cwautomacros/scripts/autogen.sh } BBCLASSEXTEND = "native" |