mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-29 06:06:32 +00:00
xenomai: add support to keep or remove Analogy utilities and libs
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
parent
832ff5c9c0
commit
60d4822052
@ -113,4 +113,10 @@ config BR2_PACKAGE_XENOMAI_RTCAN
|
|||||||
help
|
help
|
||||||
This option allows to install the Xenomai RT-CAN utilities.
|
This option allows to install the Xenomai RT-CAN utilities.
|
||||||
|
|
||||||
|
config BR2_PACKAGE_XENOMAI_ANALOGY
|
||||||
|
bool "Analogy libs and utils"
|
||||||
|
help
|
||||||
|
This option allows to install the Xenomai Analogy utilities
|
||||||
|
and libraries
|
||||||
|
|
||||||
endif
|
endif
|
||||||
|
@ -90,6 +90,19 @@ endef
|
|||||||
XENOMAI_POST_INSTALL_TARGET_HOOKS += XENOMAI_REMOVE_RTCAN_PROGS
|
XENOMAI_POST_INSTALL_TARGET_HOOKS += XENOMAI_REMOVE_RTCAN_PROGS
|
||||||
endif
|
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 \
|
||||||
|
rm -f $(TARGET_DIR)/usr/xenomai/bin/$$i ; \
|
||||||
|
done
|
||||||
|
rm -f $(TARGET_DIR)/usr/xenomai/sbin/analogy_config
|
||||||
|
rm -f $(TARGET_DIR)/usr/xenomai/lib/libanalogy.*
|
||||||
|
endef
|
||||||
|
|
||||||
|
XENOMAI_POST_INSTALL_TARGET_HOOKS += XENOMAI_REMOVE_ANALOGY
|
||||||
|
endif
|
||||||
|
|
||||||
define XENOMAI_ADD_LD_SO_CONF
|
define XENOMAI_ADD_LD_SO_CONF
|
||||||
# Add /usr/xenomai/lib in the library search path
|
# Add /usr/xenomai/lib in the library search path
|
||||||
grep -q "^/usr/xenomai/lib" $(TARGET_DIR)/etc/ld.so.conf || \
|
grep -q "^/usr/xenomai/lib" $(TARGET_DIR)/etc/ld.so.conf || \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user