summaryrefslogtreecommitdiff
path: root/usr/src/cmd/picl
diff options
context:
space:
mode:
authorToomas Soome <tsoome@me.com>2020-04-08 17:12:41 +0300
committerToomas Soome <tsoome@me.com>2021-06-18 21:15:52 +0300
commit1872d23e4f4f89383cc3d7774072ee4bfbb49e91 (patch)
tree8b72c08815c42a0c0295cd22b9ce7ff7827924fb /usr/src/cmd/picl
parent26e7d9a88aea4fa6939315466aa8b8b9946409d8 (diff)
downloadillumos-gate-1872d23e4f4f89383cc3d7774072ee4bfbb49e91.tar.gz
13418 picl: removal of unused dependency recommended
Reviewed by: Klaus Ziegler <klausz@haus-gisela.de> Approved by: Dan McDonald <danmcd@joyent.com>
Diffstat (limited to 'usr/src/cmd/picl')
-rw-r--r--usr/src/cmd/picl/plugins/sun4u/cherrystone/frutree/Makefile2
-rw-r--r--usr/src/cmd/picl/plugins/sun4u/chicago/envd/Makefile4
-rw-r--r--usr/src/cmd/picl/plugins/sun4u/daktari/frutree/Makefile2
-rw-r--r--usr/src/cmd/picl/plugins/sun4u/daktari/psvcpolicy/Makefile2
-rw-r--r--usr/src/cmd/picl/plugins/sun4u/enchilada/envd/Makefile4
-rw-r--r--usr/src/cmd/picl/plugins/sun4u/envmon/Makefile3
-rw-r--r--usr/src/cmd/picl/plugins/sun4u/excalibur/envd/Makefile2
-rw-r--r--usr/src/cmd/picl/plugins/sun4u/frudata/Makefile2
-rw-r--r--usr/src/cmd/picl/plugins/sun4u/grover/envd/Makefile2
-rw-r--r--usr/src/cmd/picl/plugins/sun4u/grover/memcfg/Makefile2
-rw-r--r--usr/src/cmd/picl/plugins/sun4u/littleneck/frutree/Makefile2
-rw-r--r--usr/src/cmd/picl/plugins/sun4u/lw2plus/fcal_leds/Makefile3
-rw-r--r--usr/src/cmd/picl/plugins/sun4u/lw8/frutree/Makefile3
-rw-r--r--usr/src/cmd/picl/plugins/sun4u/mpxu/frudr/Makefile3
-rw-r--r--usr/src/cmd/picl/plugins/sun4u/taco/envd/Makefile4
-rw-r--r--usr/src/cmd/picl/plugins/sun4v/mdesc/Makefile2
-rw-r--r--usr/src/cmd/picl/plugins/sun4v/pri/Makefile7
17 files changed, 20 insertions, 29 deletions
diff --git a/usr/src/cmd/picl/plugins/sun4u/cherrystone/frutree/Makefile b/usr/src/cmd/picl/plugins/sun4u/cherrystone/frutree/Makefile
index 75a8b4c285..54a8edb934 100644
--- a/usr/src/cmd/picl/plugins/sun4u/cherrystone/frutree/Makefile
+++ b/usr/src/cmd/picl/plugins/sun4u/cherrystone/frutree/Makefile
@@ -61,7 +61,7 @@ LDLIBS += -L$(DEVTREE_SRC_DIR)
LDLIBS += -L$(SRC)/lib/libptree/$(MACH)
LDLIBS += -L$(SRC)/cmd/picl/plugins/common/devtree
LDLIBS += -L$(ROOT)/usr/lib/picl/plugins
-LDLIBS += -lc -lpicldevtree -lpicltree -lnvpair
+LDLIBS += -lc -lpicltree -lnvpair
.KEEP_STATE:
diff --git a/usr/src/cmd/picl/plugins/sun4u/chicago/envd/Makefile b/usr/src/cmd/picl/plugins/sun4u/chicago/envd/Makefile
index c46f80e843..7e2d47ea78 100644
--- a/usr/src/cmd/picl/plugins/sun4u/chicago/envd/Makefile
+++ b/usr/src/cmd/picl/plugins/sun4u/chicago/envd/Makefile
@@ -59,9 +59,9 @@ DYNFLAGS += -R/usr/platform/\$$PLATFORM/lib/picl/plugins:/usr/platform/sun4u/lib
LDLIBS += -L$(SRC)/lib/libpicltree/$(MACH)
LDLIBS += -L$(SRC)/cmd/picl/plugins/common/devtree
LDLIBS += -L$(SRC)/cmd/picl/plugins/lib/picld_pluginutil/$(MACH)
-LDLIBS += -L$(ROOT)/usr/lib/picl/plugins -lpicldevtree -lpicltree
+LDLIBS += -L$(ROOT)/usr/lib/picl/plugins -lpicltree
LDLIBS += -lpicld_pluginutil
-LDLIBS += -ldevinfo -lc
+LDLIBS += -lc
.KEEP_STATE:
diff --git a/usr/src/cmd/picl/plugins/sun4u/daktari/frutree/Makefile b/usr/src/cmd/picl/plugins/sun4u/daktari/frutree/Makefile
index 837f83cb8d..4e3d064d66 100644
--- a/usr/src/cmd/picl/plugins/sun4u/daktari/frutree/Makefile
+++ b/usr/src/cmd/picl/plugins/sun4u/daktari/frutree/Makefile
@@ -62,7 +62,7 @@ LDLIBS += -L$(DEVTREE_SRC_DIR)
LDLIBS += -L$(SRC)/lib/libptree/$(MACH)
LDLIBS += -L$(SRC)/cmd/picl/plugins/common/devtree
LDLIBS += -L$(ROOT)/usr/lib/picl/plugins
-LDLIBS += -lc -lpicldevtree -lpicltree -lnvpair
+LDLIBS += -lc -lpicltree -lnvpair
.KEEP_STATE:
diff --git a/usr/src/cmd/picl/plugins/sun4u/daktari/psvcpolicy/Makefile b/usr/src/cmd/picl/plugins/sun4u/daktari/psvcpolicy/Makefile
index 5341f7acd2..a32d03ee8d 100644
--- a/usr/src/cmd/picl/plugins/sun4u/daktari/psvcpolicy/Makefile
+++ b/usr/src/cmd/picl/plugins/sun4u/daktari/psvcpolicy/Makefile
@@ -57,7 +57,7 @@ LDLIBS += -L$(SRC)/cmd/picl/plugins/sun4u/psvc/psvcplugin
DYNFLAGS += -R$(DYNFLAGS_PLAT):$(DYNFLAGS_SUN4U):$(DYNFLAGS_COM)
LDLIBS += -lpicltree -lpsvcobj -lpsvcplugin
-LDLIBS += -lc -ldevice -lcfgadm
+LDLIBS += -lc -ldevice
.KEEP_STATE:
diff --git a/usr/src/cmd/picl/plugins/sun4u/enchilada/envd/Makefile b/usr/src/cmd/picl/plugins/sun4u/enchilada/envd/Makefile
index 8f086c3b28..303c3f421c 100644
--- a/usr/src/cmd/picl/plugins/sun4u/enchilada/envd/Makefile
+++ b/usr/src/cmd/picl/plugins/sun4u/enchilada/envd/Makefile
@@ -59,9 +59,9 @@ DYNFLAGS += -R/usr/platform/\$$PLATFORM/lib/picl/plugins:/usr/platform/sun4u/lib
LDLIBS += -L$(SRC)/lib/libpicltree/$(MACH)
LDLIBS += -L$(SRC)/cmd/picl/plugins/common/devtree
LDLIBS += -L$(SRC)/cmd/picl/plugins/lib/picld_pluginutil/$(MACH)
-LDLIBS += -L$(ROOT)/usr/lib/picl/plugins -lpicldevtree -lpicltree
+LDLIBS += -L$(ROOT)/usr/lib/picl/plugins -lpicltree
LDLIBS += -lpicld_pluginutil
-LDLIBS += -ldevinfo -lc
+LDLIBS += -lc
.KEEP_STATE:
diff --git a/usr/src/cmd/picl/plugins/sun4u/envmon/Makefile b/usr/src/cmd/picl/plugins/sun4u/envmon/Makefile
index ac1a31716e..2d020c93f9 100644
--- a/usr/src/cmd/picl/plugins/sun4u/envmon/Makefile
+++ b/usr/src/cmd/picl/plugins/sun4u/envmon/Makefile
@@ -54,8 +54,7 @@ LDLIBS += -L$(SRC)/lib/libpicltree/$(MACH)
LDLIBS += -L$(SRC)/cmd/picl/plugins/common/piclevent
LDLIBS += -L$(SRC)/cmd/picl/plugins/common/memcfg
LDLIBS += -L$(SRC)/cmd/picl/plugins/common/devtree
-LDLIBS += -lnvpair -ldevinfo -lc
-LDLIBS += -lpicltree -lpicld_pluginutil -lpiclevent -lpicldevtree
+LDLIBS += -lnvpair -lc -lpicltree -lpicld_pluginutil
.KEEP_STATE:
diff --git a/usr/src/cmd/picl/plugins/sun4u/excalibur/envd/Makefile b/usr/src/cmd/picl/plugins/sun4u/excalibur/envd/Makefile
index e441499565..90fe8e9bc1 100644
--- a/usr/src/cmd/picl/plugins/sun4u/excalibur/envd/Makefile
+++ b/usr/src/cmd/picl/plugins/sun4u/excalibur/envd/Makefile
@@ -58,7 +58,7 @@ DYNFLAGS += -R/usr/platform/\$$PLATFORM/lib/picl/plugins:/usr/platform/sun4u/lib
LDLIBS += -L$(SRC)/lib/libpicltree/$(MACH)
LDLIBS += -L$(SRC)/cmd/picl/plugins/common/devtree
LDLIBS += -L$(SRC)/cmd/picl/plugins/lib/picld_pluginutil/$(MACH)
-LDLIBS += -L$(ROOT)/usr/lib/picl/plugins -lpicldevtree -lpicltree
+LDLIBS += -L$(ROOT)/usr/lib/picl/plugins -lpicltree
LDLIBS += -lpicld_pluginutil
LDLIBS += -ldevinfo -lc
diff --git a/usr/src/cmd/picl/plugins/sun4u/frudata/Makefile b/usr/src/cmd/picl/plugins/sun4u/frudata/Makefile
index 375d7f990e..138d826a95 100644
--- a/usr/src/cmd/picl/plugins/sun4u/frudata/Makefile
+++ b/usr/src/cmd/picl/plugins/sun4u/frudata/Makefile
@@ -57,7 +57,7 @@ LDLIBS += -L$(SRC)/lib/libfruutils/$(MACH)
LDLIBS += -L$(SRC)/cmd/picl/plugins/common/frutree
LDLIBS += -L$(ROOT)/usr/lib/picl/plugins
LDLIBS += -lc -lnvpair -lfruutils
-LDLIBS += -lpicltree -lpiclfrutree -lfruaccess -lpicld_pluginutil
+LDLIBS += -lpicltree -lfruaccess -lpicld_pluginutil
LDLIBS += -R/usr/platform/\$$PLATFORM/lib/picl/plugins:/usr/platform/\$$PLATFORM/lib:/usr/platform/sun4u/lib/picl/plugins:/usr/lib/picl/plugins:/usr/platform/sun4u/lib
.KEEP_STATE:
diff --git a/usr/src/cmd/picl/plugins/sun4u/grover/envd/Makefile b/usr/src/cmd/picl/plugins/sun4u/grover/envd/Makefile
index 481f1d6d48..e62cb2f0ea 100644
--- a/usr/src/cmd/picl/plugins/sun4u/grover/envd/Makefile
+++ b/usr/src/cmd/picl/plugins/sun4u/grover/envd/Makefile
@@ -57,7 +57,7 @@ DYNFLAGS += -R/usr/platform/\$$PLATFORM/lib/picl/plugins:/usr/platform/sun4u/lib
LDLIBS += -L$(SRC)/lib/libpicltree/$(MACH)
LDLIBS += -L$(SRC)/cmd/picl/plugins/common/devtree
LDLIBS += -L$(SRC)/cmd/picl/plugins/lib/picld_pluginutil/$(MACH)
-LDLIBS += -L$(ROOT)/usr/lib/picl/plugins -lpicldevtree -lpicltree
+LDLIBS += -L$(ROOT)/usr/lib/picl/plugins -lpicltree
LDLIBS += -lpicld_pluginutil -lc
.KEEP_STATE:
diff --git a/usr/src/cmd/picl/plugins/sun4u/grover/memcfg/Makefile b/usr/src/cmd/picl/plugins/sun4u/grover/memcfg/Makefile
index 96f5b718fd..ecbcdf5db0 100644
--- a/usr/src/cmd/picl/plugins/sun4u/grover/memcfg/Makefile
+++ b/usr/src/cmd/picl/plugins/sun4u/grover/memcfg/Makefile
@@ -49,7 +49,7 @@ CFLAGS += $(CCVERBOSE)
LDLIBS += -L$(SRC)/lib/libpicltree/$(MACH)
LDLIBS += -L$(SRC)/cmd/picl/plugins/common/devtree
LDLIBS += -L$(ROOT)/usr/lib/picl/plugins
-LDLIBS += -lc -lpicltree -lpicldevtree
+LDLIBS += -lc -lpicltree
LDLIBS += -R/usr/platform/\$$PLATFORM/lib/picl/plugins:/usr/platform/sun4u/lib/picl/plugins:/usr/lib/picl/plugins
PLATFORM= SUNW,Sun-Blade-100
diff --git a/usr/src/cmd/picl/plugins/sun4u/littleneck/frutree/Makefile b/usr/src/cmd/picl/plugins/sun4u/littleneck/frutree/Makefile
index 5826a15c23..d20aa48ae9 100644
--- a/usr/src/cmd/picl/plugins/sun4u/littleneck/frutree/Makefile
+++ b/usr/src/cmd/picl/plugins/sun4u/littleneck/frutree/Makefile
@@ -59,7 +59,7 @@ DEVTREE_SRC_DIR = $(SRC)/cmd/picl/plugins/common/devtree
LDLIBS += -L$(DEVTREE_SRC_DIR)
LDLIBS += -L$(ROOT)/usr/lib/picl/plugins
LDLIBS += -L$(SRC)/lib/libptree/$(MACH)
-LDLIBS += -lc -lpicltree -lpicldevtree
+LDLIBS += -lc -lpicltree
DYNFLAGS += -R/usr/platform/\$$PLATFORM/lib/picl/plugins:/usr/platform/sun4u/lib/picl/plugins:/usr/lib/picl/plugins
.KEEP_STATE:
diff --git a/usr/src/cmd/picl/plugins/sun4u/lw2plus/fcal_leds/Makefile b/usr/src/cmd/picl/plugins/sun4u/lw2plus/fcal_leds/Makefile
index 8f4b2cb9be..3113f013d9 100644
--- a/usr/src/cmd/picl/plugins/sun4u/lw2plus/fcal_leds/Makefile
+++ b/usr/src/cmd/picl/plugins/sun4u/lw2plus/fcal_leds/Makefile
@@ -65,8 +65,7 @@ LDLIBS += -L$(SRC)/cmd/picl/plugins/common/devtree
LDLIBS += -L$(SRC)/cmd/picl/plugins/common/piclevent
LDLIBS += -L$(SRC)/cmd/picl/plugins/common/frutree
LDLIBS += -L$(SRC)/cmd/picl/plugins/common/memcfg
-LDLIBS += -lpicltree -lpicldevtree -lpiclfrutree -lnvpair
-LDLIBS += -ldevinfo -lc
+LDLIBS += -lpicltree -ldevinfo -lc
.KEEP_STATE:
diff --git a/usr/src/cmd/picl/plugins/sun4u/lw8/frutree/Makefile b/usr/src/cmd/picl/plugins/sun4u/lw8/frutree/Makefile
index 5aa4aeded0..d76fe69b8d 100644
--- a/usr/src/cmd/picl/plugins/sun4u/lw8/frutree/Makefile
+++ b/usr/src/cmd/picl/plugins/sun4u/lw8/frutree/Makefile
@@ -57,8 +57,7 @@ LDLIBS += -L$(DEVTREE_SRC_DIR)
LDLIBS += -L$(SRC)/lib/libpicltree/$(MACH)
LDLIBS += -L$(SRC)/cmd/picl/plugins/common/devtree
LDLIBS += -L$(ROOT)/usr/lib/picl/plugins
-LDLIBS += -lc -lpicldevtree -lpiclmemcfg
-LDLIBS += -lpicltree -lnvpair -lkstat -ldevice
+LDLIBS += -lpicltree -lnvpair -lkstat -ldevice -lc
.KEEP_STATE:
diff --git a/usr/src/cmd/picl/plugins/sun4u/mpxu/frudr/Makefile b/usr/src/cmd/picl/plugins/sun4u/mpxu/frudr/Makefile
index f5fcac6054..1ff27dd885 100644
--- a/usr/src/cmd/picl/plugins/sun4u/mpxu/frudr/Makefile
+++ b/usr/src/cmd/picl/plugins/sun4u/mpxu/frudr/Makefile
@@ -89,8 +89,7 @@ LDLIBS += -L$(SRC)/cmd/picl/plugins/sun4u/envmon
LDLIBS += -L$(SRC)/cmd/picl/plugins/common/frutree
LDLIBS += -L$(ROOT)/usr/lib/picl/plugins
LDLIBS += -lc -ldevinfo -ldevice
-LDLIBS += -lpicltree -lpicld_pluginutil -lnvpair -lkstat
-LDLIBS += -lpiclevent -lpiclenvmon -lpiclfrutree
+LDLIBS += -lpicltree -lpicld_pluginutil -lnvpair
.KEEP_STATE:
diff --git a/usr/src/cmd/picl/plugins/sun4u/taco/envd/Makefile b/usr/src/cmd/picl/plugins/sun4u/taco/envd/Makefile
index ce349939a9..669527a5dd 100644
--- a/usr/src/cmd/picl/plugins/sun4u/taco/envd/Makefile
+++ b/usr/src/cmd/picl/plugins/sun4u/taco/envd/Makefile
@@ -61,9 +61,9 @@ DYNFLAGS += -R/usr/platform/\$$PLATFORM/lib/picl/plugins:/usr/platform/sun4u/lib
LDLIBS += -L$(SRC)/lib/libpicltree/$(MACH)
LDLIBS += -L$(SRC)/cmd/picl/plugins/common/devtree
LDLIBS += -L$(SRC)/cmd/picl/plugins/lib/picld_pluginutil/$(MACH)
-LDLIBS += -L$(ROOT)/usr/lib/picl/plugins -lpicldevtree -lpicltree
+LDLIBS += -L$(ROOT)/usr/lib/picl/plugins -lpicltree
LDLIBS += -lpicld_pluginutil
-LDLIBS += -ldevinfo -lc
+LDLIBS += -lc
.KEEP_STATE:
diff --git a/usr/src/cmd/picl/plugins/sun4v/mdesc/Makefile b/usr/src/cmd/picl/plugins/sun4v/mdesc/Makefile
index fd05cab88f..f4261f5af8 100644
--- a/usr/src/cmd/picl/plugins/sun4v/mdesc/Makefile
+++ b/usr/src/cmd/picl/plugins/sun4v/mdesc/Makefile
@@ -67,7 +67,7 @@ LDLIBS += -L$(SRC)/lib/libpicl/$(MACH) -L$(SRC)/lib/libpicltree/$(MACH)
LDLIBS += -L$(ROOT)/usr/lib/picl/plugins -L$(ROOT)/usr/lib/sparcv9
DYNFLAGS += -R$(DYNFLAGS_COM)
-LDLIBS += -lc -lpicltree -ldevinfo -lpicldevtree -lcfgadm -lnvpair
+LDLIBS += -lc -lpicltree -ldevinfo -lcfgadm -lnvpair
.KEEP_STATE:
diff --git a/usr/src/cmd/picl/plugins/sun4v/pri/Makefile b/usr/src/cmd/picl/plugins/sun4v/pri/Makefile
index 6b67dec843..7d4711ab20 100644
--- a/usr/src/cmd/picl/plugins/sun4v/pri/Makefile
+++ b/usr/src/cmd/picl/plugins/sun4v/pri/Makefile
@@ -69,12 +69,7 @@ LDLIBS += -L$(ROOT)/usr/lib/picl/plugins -L$(ROOT)/usr/lib/sparcv9
LDLIBS += -L$(ROOT)/usr/lib/libpri
LDLIBS += -L$(ROOT_PLATFORM)/lib -L$(ROOT_PLATFORM)/lib/picl/plugins
-LDLIBS += -lc -lpicl -lpicltree -lpicldevtree -lpri
-
-# No interfaces from libsnmpplugin.so directly used here, but we need the
-# snmp plugin to load and init before libpriplugin.so.
-#
-LDLIBS += -lsnmpplugin
+LDLIBS += -lc -lpicl -lpicltree -lpri
#DYNFLAGS += -R$(DYNFLAGS_COM)
$(SPARC_BLD)LDLIBS += -R$(DYNFLAGS_PLAT) \