소스 검색

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>
Jackie Huang 10 년 전
부모
커밋
7a6cb2ed3a
1개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제
  1. 3 0
      meta/recipes-extended/cwautomacros/cwautomacros_20110201.bb

+ 3 - 0
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"