Skip to content

Commit

Permalink
libfan: Remove
Browse files Browse the repository at this point in the history
Since the removal of the custom timer implementation our libfan has
nothing but a single header file. Since we have no object code left we
do not need a library to contain this code since the header is directly
included where needed.

Tested:
    Built and run through unit tests.

Change-Id: I139b83ab979ead88cfd4c180ba8847a29c6407e2
Signed-off-by: William A. Kennington III <wak@google.com>
  • Loading branch information
wak-google committed Feb 5, 2019
1 parent 8fd879f commit dea024f
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 45 deletions.
14 changes: 0 additions & 14 deletions Makefile.am
@@ -1,19 +1,5 @@
AM_DEFAULT_SOURCE_EXT = .cpp

noinst_LTLIBRARIES = libfan.la
libfan_la_LDFLAGS = -static
libfan_la_LIBADD = \
$(PHOSPHOR_DBUS_INTERFACES_LIBS) \
$(PHOSPHOR_LOGGING_LIBS) \
$(SDBUSPLUS_LIBS)
libfan_la_CXXFLAGS = \
$(PHOSPHOR_DBUS_INTERFACES_CFLAGS) \
$(PHOSPHOR_LOGGING_CFLAGS) \
$(SDBUSPLUS_CFLAGS) \
-flto
libfan_la_SOURCES = \
utility.cpp

SUBDIRS = . sdevent/test evdevpp/test

if WANT_PRESENCE
Expand Down
1 change: 0 additions & 1 deletion control/Makefile.am
Expand Up @@ -16,7 +16,6 @@ nodist_phosphor_fan_control_SOURCES = \
fan_zone_defs.cpp

phosphor_fan_control_LDADD = \
$(top_builddir)/libfan.la \
$(SDBUSPLUS_LIBS) \
$(SDEVENTPLUS_LIBS) \
$(PHOSPHOR_LOGGING_LIBS) \
Expand Down
1 change: 0 additions & 1 deletion cooling-type/Makefile.am
Expand Up @@ -17,7 +17,6 @@ phosphor_cooling_type_CXXFLAGS = \
-flto

phosphor_cooling_type_LDADD = \
${top_builddir}/libfan.la \
$(SDBUSPLUS_LIBS) \
$(PHOSPHOR_LOGGING_LIBS) \
$(LIBEVDEV_LIBS) \
Expand Down
1 change: 0 additions & 1 deletion monitor/Makefile.am
Expand Up @@ -17,7 +17,6 @@ nodist_phosphor_fan_monitor_SOURCES = \
BUILT_SOURCES = fan_monitor_defs.cpp

phosphor_fan_monitor_LDADD = \
$(top_builddir)/libfan.la \
$(SDBUSPLUS_LIBS) \
$(SDEVENTPLUS_LIBS) \
$(PHOSPHOR_LOGGING_LIBS) \
Expand Down
1 change: 0 additions & 1 deletion presence/Makefile.am
Expand Up @@ -14,7 +14,6 @@ phosphor_fan_presence_tach_SOURCES = \
tach_detect.cpp

phosphor_fan_presence_tach_LDADD = \
$(top_builddir)/libfan.la \
$(SDBUSPLUS_LIBS) \
$(SDEVENTPLUS_LIBS) \
$(PHOSPHOR_LOGGING_LIBS) \
Expand Down
27 changes: 0 additions & 27 deletions utility.cpp

This file was deleted.

0 comments on commit dea024f

Please sign in to comment.