Просмотр исходного кода

swupdate: put tools in a separate package

Put tools in a separate package, thus making their installation optional.

Signed-off-by: Diego Rondini <diego.rondini@kynetics.com>
Diego Rondini 8 лет назад
Родитель
Сommit
6ab0768815
1 измененных файлов с 6 добавлено и 0 удалено
  1. 6 0
      recipes-support/swupdate/swupdate_git.bb

+ 6 - 0
recipes-support/swupdate/swupdate_git.bb

@@ -2,6 +2,12 @@ require swupdate.inc
 
 DEFAULT_PREFERENCE = "-1"
 
+PACKAGES =+ "${PN}-tools"
+
+INSANE_SKIP_${PN}-tools = "ldflags"
+
+FILES_${PN}-tools = "${bindir}/swupdate-*"
+
 do_compile() {
   unset LDFLAGS