/* vi: set sw=4 ts=4: */
/*
-* lspci implementation for busybox
-*
-* Copyright (C) 2009 Malek Degachi <malek-degachi@laposte.net>
-*
-* Licensed under the GPL v2 or later, see the file LICENSE in this tarball.
-*/
-#include <libbb.h>
+ * lsusb implementation for busybox
+ *
+ * Copyright (C) 2009 Malek Degachi <malek-degachi@laposte.net>
+ *
+ * Licensed under GPLv2 or later, see file LICENSE in this source tree.
+ */
+//config:config LSUSB
+//config: bool "lsusb (3.5 kb)"
+//config: default y
+//config: #select PLATFORM_LINUX
+//config: help
+//config: lsusb is a utility for displaying information about USB buses in the
+//config: system and devices connected to them.
+//config:
+//config: This version uses sysfs (/sys/bus/usb/devices) only.
+
+//applet:IF_LSUSB(APPLET_NOEXEC(lsusb, lsusb, BB_DIR_USR_BIN, BB_SUID_DROP, lsusb))
+
+//kbuild:lib-$(CONFIG_LSUSB) += lsusb.o
+
+//usage:#define lsusb_trivial_usage NOUSAGE_STR
+//usage:#define lsusb_full_usage ""
+
+#include "libbb.h"
static int FAST_FUNC fileAction(
const char *fileName,