浏览代码

add usbmuxd into system for carlife

lixh 3 年之前
父节点
当前提交
08f6238ead

+ 1 - 0
buildroot-external/Config.in

@@ -13,3 +13,4 @@ source "$BR2_EXTERNAL_ARK_PATH/package/DashBoard/Config.in"
 source "$BR2_EXTERNAL_ARK_PATH/package/ark-mplayer/Config.in"
 source "$BR2_EXTERNAL_ARK_PATH/package/ark1668eft/Config.in"
 source "$BR2_EXTERNAL_ARK_PATH/package/usb_eye_diagram_tool/Config.in"
+source "$BR2_EXTERNAL_ARK_PATH/package/usbmuxd/Config.in"

+ 1 - 0
buildroot-external/configs/ark1668e_devb_defconfig

@@ -72,3 +72,4 @@ BR2_PACKAGE_LIBMALI=y
 BR2_PACKAGE_DASHBOARD=y
 BR2_PACKAGE_ARK_MPLAYER=y
 BR2_PACKAGE_USB_EYE_DIAGRAM_TOOL=y
+BR2_PACKAGE_USBMUXD=y

+ 1 - 0
buildroot-external/external.mk

@@ -13,3 +13,4 @@ include $(BR2_EXTERNAL_ARK_PATH)/package/DashBoard/DashBoard.mk
 include $(BR2_EXTERNAL_ARK_PATH)/package/ark-mplayer/ark-mplayer.mk
 include $(BR2_EXTERNAL_ARK_PATH)/package/ark1668eft/ark1668eft.mk
 include $(BR2_EXTERNAL_ARK_PATH)/package/usb_eye_diagram_tool/usb_eye_diagram_tool.mk
+include $(BR2_EXTERNAL_ARK_PATH)/package/usbmuxd/usbmuxd.mk

+ 4 - 0
buildroot-external/package/usbmuxd/Config.in

@@ -0,0 +1,4 @@
+config BR2_PACKAGE_USBMUXD
+	bool "usbmuxd"
+	help
+		USB Mux Tool for CarLife

二进制
buildroot-external/package/usbmuxd/bin/usbmuxd


+ 16 - 0
buildroot-external/package/usbmuxd/usbmuxd.mk

@@ -0,0 +1,16 @@
+################################################################################
+#
+# usbmuxd
+#
+################################################################################
+
+#USBMUXD_VERSION = 1.0
+USBMUXD_SITE = $(BR2_EXTERNAL_ARK_PATH)/package/usbmuxd/bin
+USBMUXD_SITE_METHOD = local
+USBMUXD_INSTALL_STAGING = YES
+
+define USBMUXD_INSTALL_STAGING_CMDS
+$(INSTALL) -D -m 0755 $(@D)/usbmuxd $(TARGET_DIR)/usr/bin/usbmuxd
+endef
+
+$(eval $(generic-package))