diff options
author | Tim Lee <timlee660101@gmail.com> | 2024-04-11 12:25:35 +0300 |
---|---|---|
committer | Tim Lee <chli30@nuvoton.com> | 2024-05-08 03:51:30 +0300 |
commit | 47bcdcffee2c962e5708cd0ea3f8a100cfa2dc82 (patch) | |
tree | eebe5113d43635282679e8246348714fa85a202c | |
parent | 49d7e60ef51acb51b22d048624b1c748c07422de (diff) | |
download | openbmc-47bcdcffee2c962e5708cd0ea3f8a100cfa2dc82.tar.xz |
meta-nuvoton: evb-npcm845: busybox: add lsusb and timeout command
Add `lsusb` to make checking usb devices easier.
Add `timeout` to enable this command feature.
Signed-off-by: Tim Lee <timlee660101@gmail.com>
Change-Id: I817e52cd3ba8c4d58345772f050e1e3bdac2098c
3 files changed, 6 insertions, 0 deletions
diff --git a/meta-nuvoton/meta-evb-npcm845/recipes-core/busybox/busybox/lsusb.cfg b/meta-nuvoton/meta-evb-npcm845/recipes-core/busybox/busybox/lsusb.cfg new file mode 100644 index 0000000000..2aba6ef600 --- /dev/null +++ b/meta-nuvoton/meta-evb-npcm845/recipes-core/busybox/busybox/lsusb.cfg @@ -0,0 +1 @@ +CONFIG_LSUSB=y diff --git a/meta-nuvoton/meta-evb-npcm845/recipes-core/busybox/busybox/timeout.cfg b/meta-nuvoton/meta-evb-npcm845/recipes-core/busybox/busybox/timeout.cfg new file mode 100644 index 0000000000..40c6c34247 --- /dev/null +++ b/meta-nuvoton/meta-evb-npcm845/recipes-core/busybox/busybox/timeout.cfg @@ -0,0 +1 @@ +CONFIG_TIMEOUT=y diff --git a/meta-nuvoton/meta-evb-npcm845/recipes-core/busybox/busybox_%.bbappend b/meta-nuvoton/meta-evb-npcm845/recipes-core/busybox/busybox_%.bbappend new file mode 100644 index 0000000000..b103c1a1a6 --- /dev/null +++ b/meta-nuvoton/meta-evb-npcm845/recipes-core/busybox/busybox_%.bbappend @@ -0,0 +1,4 @@ +FILESEXTRAPATHS:prepend:evb-npcm845 := "${THISDIR}/${PN}:" + +SRC_URI:append:evb-npcm845 = " file://lsusb.cfg" +SRC_URI:append:evb-npcm845 = " file://timeout.cfg" |