瀏覽代碼

Do not use wildcards for tools

Explicitely set the filename of the tools to be installed.
Using wildcards has the drawback that additional files could be installed
and it can conflict with other files that user can be defined.

Signed-off-by: Stefano Babic <sbabic@denx.de>
Stefano Babic 8 年之前
父節點
當前提交
e570666ca5
共有 1 個文件被更改,包括 4 次插入1 次删除
  1. 4 1
      recipes-support/swupdate/swupdate_tools.inc

+ 4 - 1
recipes-support/swupdate/swupdate_tools.inc

@@ -2,7 +2,10 @@ PACKAGES =+ "${PN}-tools"
 
 
 INSANE_SKIP_${PN}-tools = "ldflags"
 INSANE_SKIP_${PN}-tools = "ldflags"
 
 
-FILES_${PN}-tools = "${bindir}/swupdate-*"
+FILES_${PN}-tools = "${bindir}/swupdate-client \
+                    ${bindir}/swupdate-progress \
+                    ${bindir}/swupdate-hawkbitcfg \
+                    ${bindir}/swupdate-sendtohawkbit"
 
 
 do_compile() {
 do_compile() {
   unset LDFLAGS
   unset LDFLAGS