summaryrefslogtreecommitdiffstats
path: root/common/recipes-core/fan-ctrl/fan-ctrl/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'common/recipes-core/fan-ctrl/fan-ctrl/Makefile')
-rw-r--r--common/recipes-core/fan-ctrl/fan-ctrl/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/common/recipes-core/fan-ctrl/fan-ctrl/Makefile b/common/recipes-core/fan-ctrl/fan-ctrl/Makefile
index da74a34..825fa53 100644
--- a/common/recipes-core/fan-ctrl/fan-ctrl/Makefile
+++ b/common/recipes-core/fan-ctrl/fan-ctrl/Makefile
@@ -1,3 +1,4 @@
+# Copyright 2017 Raptor Engineering, LLC
# Copyright 2014-present Facebook. All Rights Reserved.
#
# This program file is free software; you can redistribute it and/or modify it
@@ -15,12 +16,15 @@
# 51 Franklin Street, Fifth Floor,
# Boston, MA 02110-1301 USA
-all: fand
+all: fand platform_sensor_init
fand: fand.cpp watchdog.cpp
$(CXX) $(CXXFLAGS) -pthread -o $@ $^ $(LDFLAGS)
+platform_sensor_init: platform_sensor_init.cpp w83795.cpp
+ $(CXX) $(CXXFLAGS) -pthread -o $@ $^ $(LDFLAGS)
+
.PHONY: clean
clean:
- rm -rf *.o fand
+ rm -rf *.o fand platform_sensor_init
OpenPOWER on IntegriCloud