Selaa lähdekoodia

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 vuotta sitten
vanhempi
commit
78c2e7c6df
1 muutettua tiedostoa jossa 7 lisäystä ja 3 poistoa
  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
 
 }