diff options
Diffstat (limited to 'tests/mtd-tests/Makemodule.am')
-rw-r--r-- | tests/mtd-tests/Makemodule.am | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/mtd-tests/Makemodule.am b/tests/mtd-tests/Makemodule.am new file mode 100644 index 0000000..d61156f --- /dev/null +++ b/tests/mtd-tests/Makemodule.am @@ -0,0 +1,12 @@ +flash_torture_SOURCES = tests/mtd-tests/flash_torture.c +flash_torture_LDADD = libmtd.a +flash_torture_CPPFLAGS = $(AM_CPPFLAGS) + +MTDTEST_BINS = \ + flash_torture + +if INSTALL_TESTS +pkglibexec_PROGRAMS += $(MTDTEST_BINS) +else +noinst_PROGRAMS += $(MTDTEST_BINS) +endif |