1# Makefile for firmware loading selftests
2
3# No binaries, but make sure arg-less "make" doesn't trigger "run_tests"
4all:
5
6fw_filesystem:
7	@if /bin/sh ./fw_filesystem.sh ; then \
8                echo "fw_filesystem: ok"; \
9        else \
10                echo "fw_filesystem: [FAIL]"; \
11                exit 1; \
12        fi
13
14fw_userhelper:
15	@if /bin/sh ./fw_userhelper.sh ; then \
16                echo "fw_userhelper: ok"; \
17        else \
18                echo "fw_userhelper: [FAIL]"; \
19                exit 1; \
20        fi
21
22run_tests: all fw_filesystem fw_userhelper
23
24# Nothing to clean up.
25clean:
26
27.PHONY: all clean run_tests fw_filesystem fw_userhelper
28