OSDN Git Service

release-request-63504342-e033-4b9f-9c68-68bdd28fdc7c-for-git_oc-mr1-release-4054002...
authorandroid-build-team Robot <android-build-team-robot@google.com>
Wed, 31 May 2017 07:27:10 +0000 (07:27 +0000)
committerandroid-build-team Robot <android-build-team-robot@google.com>
Wed, 31 May 2017 07:27:10 +0000 (07:27 +0000)
Change-Id: Ie9119bb4acdbde297159e27a239819163f8f0d22

.config
Android.mk
generated/config.h

diff --git a/.config b/.config
index b171bef..d57ec7a 100644 (file)
--- a/.config
+++ b/.config
@@ -165,8 +165,8 @@ CONFIG_LSATTR=y
 CONFIG_LS_COLOR=y
 CONFIG_LSMOD=y
 CONFIG_LSOF=y
-# CONFIG_LSPCI is not set
-CONFIG_LSPCI_TEXT=y
+CONFIG_LSPCI=y
+# CONFIG_LSPCI_TEXT is not set
 CONFIG_LSUSB=y
 CONFIG_LS=y
 CONFIG_LS_Z=y
index 82f01f7..971d873 100644 (file)
@@ -105,6 +105,7 @@ common_SRC_FILES := \
     toys/other/losetup.c \
     toys/other/lsattr.c \
     toys/other/lsmod.c \
+    toys/other/lspci.c \
     toys/other/lsusb.c \
     toys/other/makedevs.c \
     toys/other/mkswap.c \
@@ -298,6 +299,7 @@ ALL_TOOLS := \
     ls \
     lsmod \
     lsof \
+    lspci \
     lsusb \
     md5sum \
     mkdir \
index dbdfaf1..e6f9354 100644 (file)
 #define USE_LSMOD(...) __VA_ARGS__
 #define CFG_LSOF 1
 #define USE_LSOF(...) __VA_ARGS__
-#define CFG_LSPCI 0
-#define USE_LSPCI(...)
-#define CFG_LSPCI_TEXT 1
-#define USE_LSPCI_TEXT(...) __VA_ARGS__
+#define CFG_LSPCI 1
+#define USE_LSPCI(...) __VA_ARGS__
+#define CFG_LSPCI_TEXT 0
+#define USE_LSPCI_TEXT(...)
 #define CFG_LSUSB 1
 #define USE_LSUSB(...) __VA_ARGS__
 #define CFG_LS 1