Makefile (b10778a00d40b3d9fdaaf5891e802794781ff71c) Makefile (5e29a9105b1a0da86eff0ad6ae015997b49d4d1d)
1# Makefile for firmware loading selftests
2
3# No binaries, but make sure arg-less "make" doesn't trigger "run_tests"
4all:
5
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
6TEST_PROGS := fw_filesystem.sh fw_userhelper.sh
13
7
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
8include ../lib.mk
21
9
22run_tests: all fw_filesystem fw_userhelper
23
24# Nothing to clean up.
25clean:
10# Nothing to clean up.
11clean:
26
27.PHONY: all clean run_tests fw_filesystem fw_userhelper