From: Jackie Huang Date: Tue, 22 Sep 2015 09:16:13 +0000 (+0800) Subject: cwautomacros: cleanup buildpath in autogen.sh X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~28721 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bc4dfe74ecd8d4f233baf16325dae31972da269a;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git 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 Signed-off-by: Ross Burton Signed-off-by: Richard Purdie --- 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"