aboutsummaryrefslogtreecommitdiff
path: root/tests/mtd-tests/Makemodule.am
blob: 5925fd94e4017b53135a34d93707025f47f673cc (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
25
26
27
28
29
30
31
32
33
34
35
36
37
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)

flash_readtest_SOURCES = tests/mtd-tests/flash_readtest.c
flash_readtest_LDADD = libmtd.a
flash_readtest_CPPFLAGS = $(AM_CPPFLAGS)

nandpagetest_SOURCES = tests/mtd-tests/nandpagetest.c
nandpagetest_LDADD = libmtd.a
nandpagetest_CPPFLAGS = $(AM_CPPFLAGS)

nandsubpagetest_SOURCES = tests/mtd-tests/nandsubpagetest.c
nandsubpagetest_LDADD = libmtd.a
nandsubpagetest_CPPFLAGS = $(AM_CPPFLAGS)

MTDTEST_BINS = \
	flash_torture flash_stress flash_speed nandbiterrs flash_readtest \
	nandpagetest nandsubpagetest

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