소스 검색

Fix build for swupdate_git

Changes in SWUpdate do not require to build specific target. Fix build
for git version.

Signed-off-by: Stefano Babic <sbabic@denx.de>
Stefano Babic 8 년 전
부모
커밋
78c2e7c6df
1개의 변경된 파일7개의 추가작업 그리고 3개의 파일을 삭제
  1. 7 3
      recipes-support/swupdate/swupdate.inc

+ 7 - 3
recipes-support/swupdate/swupdate.inc

@@ -89,9 +89,13 @@ do_configure () {
 
 do_compile() {
   unset LDFLAGS
-  oe_runmake swupdate_unstripped progress_unstripped
-  cp swupdate_unstripped swupdate
-  cp progress_unstripped progress
+  if [ "${@bb.utils.vercmp_string('${PV}', 'git')}" = "1"  ]; then
+    oe_runmake
+  else
+    oe_runmake swupdate_unstripped progress_unstripped
+    cp swupdate_unstripped swupdate
+    cp progress_unstripped progress
+  fi
 
 }