package/xenomai: clean up wrappers cleanup
authorJan Kiszka <jan.kiszka@siemens.com>
Thu, 19 Dec 2019 08:24:34 +0000 (09:24 +0100)
committerYann E. MORIN <yann.morin.1998@free.fr>
Thu, 19 Dec 2019 18:16:14 +0000 (19:16 +0100)
There is no posix.wrappers anymore, but cobalt and modechk. Those only
play a role when building in combination with wrap-link.sh.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
package/xenomai/xenomai.mk

index 40f9b4af78049cb43ac1070ec7ca0eeaf620c56e..2577172e32ba143969b07a3ec6ef95fda8e20733 100644 (file)
@@ -62,6 +62,9 @@ define XENOMAI_REMOVE_UNNEEDED_FILES
        for i in xeno xeno-config xeno-info wrap-link.sh ; do \
                rm -f $(TARGET_DIR)/usr/bin/$$i ; \
        done
+       for i in cobalt modechk ; do \
+               rm -f $(TARGET_DIR)/usr/lib/$$i.wrappers ; \
+       done
        for i in autotune corectl hdb rtnet nomaccfg rtcfg rtifconfig \
                rtiwconfig rtping rtroute tdmacfg rtps slackspot version; do \
                rm -f $(TARGET_DIR)/usr/sbin/$$i ; \
@@ -121,9 +124,6 @@ XENOMAI_REMOVE_LIBS_LIST += $(if $(BR2_PACKAGE_XENOMAI_VRTX_SKIN),,vrtx)
 define XENOMAI_REMOVE_LIBS
        for i in $(XENOMAI_REMOVE_LIBS_LIST) ; do \
                rm -f $(TARGET_DIR)/usr/lib/lib$$i.* ; \
-               if [ $$i == "posix" ] ; then \
-                       rm -f $(TARGET_DIR)/usr/lib/posix.wrappers ; \
-               fi ; \
        done
 endef