summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorKen <ken.sk.lai@mail.foxconn.com>2015-12-19 07:02:34 +0800
committerPatrick Williams <patrick@stwcx.xyz>2015-12-18 17:57:05 -0600
commitc95eccd1e6bb7314d29167e78bc9116542694682 (patch)
tree5ab86bdb5d419451e51acf5d059697927b6ba508 /Makefile
parent14937cb98a20b21d438cf03ce30b9ccbff44fa46 (diff)
downloadtalos-skeleton-c95eccd1e6bb7314d29167e78bc9116542694682.tar.gz
talos-skeleton-c95eccd1e6bb7314d29167e78bc9116542694682.zip
Add reset button
Diffstat (limited to 'Makefile')
-rwxr-xr-x[-rw-r--r--]Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index e3875ad..ea2dde2 100644..100755
--- a/Makefile
+++ b/Makefile
@@ -22,7 +22,7 @@ LIBS=$(shell pkg-config --libs gio-unix-2.0 glib-2.0) -Llib -lopenbmc_intf
%.o: objects/pflash/libflash/%.c
$(CC) -c -o obj/$@ $< $(CFLAGS) $(INCLUDES)
-all: setup libopenbmc_intf power_control led_controller button_power control_host host_watchdog control_bmc board_vpd pcie_slot_present flash_bios flasher control_bmc_barreleye pflash hwmons_barreleye
+all: setup libopenbmc_intf power_control led_controller button_power button_reset control_host host_watchdog control_bmc board_vpd pcie_slot_present flash_bios flasher control_bmc_barreleye pflash hwmons_barreleye
setup:
mkdir -p obj lib
@@ -42,6 +42,10 @@ led_controller: led_controller.o gpio.o object_mapper.o libopenbmc_intf
button_power: button_power_obj.o gpio.o object_mapper.o libopenbmc_intf
$(CC) -o bin/$@.exe obj/button_power_obj.o obj/gpio.o obj/object_mapper.o $(LDFLAGS) $(LIBS)
+button_reset: button_reset_obj.o gpio.o object_mapper.o libopenbmc_intf
+ $(CC) -o bin/$@.exe obj/button_reset_obj.o obj/gpio.o obj/object_mapper.o $(LDFLAGS) $(LIBS)
+
+
control_host: control_host_obj.o gpio.o object_mapper.o libopenbmc_intf
$(CC) -o bin/$@.exe obj/gpio.o obj/control_host_obj.o obj/object_mapper.o $(LDFLAGS) $(LIBS)
OpenPOWER on IntegriCloud