summaryrefslogtreecommitdiff
path: root/tests/mtd-tests/Makemodule.am
blob: 38b419f29395e2a35e3b1fd026ccef9d5bc15a8b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
flash_torture_SOURCES = tests/mtd-tests/flash_torture.c
flash_torture_LDADD = libmtd.a
flash_torture_CPPFLAGS = $(AM_CPPFLAGS)

flash_stress_SOURCES = tests/mtd-tests/flash_stress.c
flash_stress_LDADD = libmtd.a
flash_stress_CPPFLAGS = $(AM_CPPFLAGS)

flash_speed_SOURCES = tests/mtd-tests/flash_speed.c
flash_speed_LDADD = libmtd.a
flash_speed_CPPFLAGS = $(AM_CPPFLAGS)

nandbiterrs_SOURCES = tests/mtd-tests/nandbiterrs.c
nandbiterrs_LDADD = libmtd.a
nandbiterrs_CPPFLAGS = $(AM_CPPFLAGS)

MTDTEST_BINS = \
	flash_torture flash_stress flash_speed nandbiterrs

if INSTALL_TESTS
pkglibexec_PROGRAMS += $(MTDTEST_BINS)
else
noinst_PROGRAMS += $(MTDTEST_BINS)
endif