From d66ffcc5dd6747f81ce0602a6a5cd3e4101eee5e Mon Sep 17 00:00:00 2001 From: Ziv Xu Date: Fri, 5 Jan 2024 10:49:48 +0800 Subject: [PATCH] package: bluez5_utils: add obexctl tool support add obexctl tool support Signed-off-by: Ziv Xu --- package/bluez5_utils/bluez5_utils.mk | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/package/bluez5_utils/bluez5_utils.mk b/package/bluez5_utils/bluez5_utils.mk index 65965168..24190bdb 100644 --- a/package/bluez5_utils/bluez5_utils.mk +++ b/package/bluez5_utils/bluez5_utils.mk @@ -138,4 +138,11 @@ define BLUEZ5_UTILS_INSTALL_INIT_SYSV $(TARGET_DIR)/etc/init.d/S40bluetooth endef +ifeq ($(BR2_PACKAGE_BLUEZ5_UTILS_OBEX),y) +define BLUEZ5_UTILS_INSTALL_TOOLS + $(INSTALL) -m 0755 $(@D)/tools/obexctl $(TARGET_DIR)/usr/bin/obexctl +endef +endif +BLUEZ5_UTILS_POST_INSTALL_TARGET_HOOKS += BLUEZ5_UTILS_INSTALL_TOOLS + $(eval $(autotools-package))