xenomai: update list of Analogy installed files
authorThomas De Schampheleire <thomas.de_schampheleire@nokia.com>
Wed, 19 Apr 2017 20:00:03 +0000 (22:00 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thu, 20 Apr 2017 20:34:22 +0000 (22:34 +0200)
Since Xenomai 3, the list of files installed for Analogy is longer, causing
the extra files to remain on the target filesystem even if Analogy is not
selected.

Signed-off-by: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/xenomai/xenomai.mk

index 086614457a09731456107be3d6cc478bba1dc19a..a9cb296a0ff2f01744a845080e4e2a4582bef95d 100644 (file)
@@ -81,11 +81,13 @@ endif
 
 ifeq ($(BR2_PACKAGE_XENOMAI_ANALOGY),)
 define XENOMAI_REMOVE_ANALOGY
-       for i in cmd_bits cmd_read cmd_write insn_write \
-               insn_bits insn_read ; do \
+       for i in cmd_read cmd_write cmd_bits insn_read insn_write insn_bits \
+                       wf_generate ; do \
                rm -f $(TARGET_DIR)/usr/bin/$$i ; \
        done
-       rm -f $(TARGET_DIR)/usr/sbin/analogy_config
+       for i in analogy_config analogy_calibrate ; do \
+               rm -f $(TARGET_DIR)/usr/sbin/$$i ; \
+       done
        rm -f $(TARGET_DIR)/usr/lib/libanalogy.*
 endef