From be4674e64181012c0da9aac217f81dbcf2c90710 Mon Sep 17 00:00:00 2001 From: Ralph Lange Date: Sat, 6 Jun 2020 14:23:10 +0200 Subject: [PATCH] example: RTEMS memory fs only on Base 7.0 and above --- exampleApp/test/Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/exampleApp/test/Makefile b/exampleApp/test/Makefile index cdfc92a..1eefe57 100644 --- a/exampleApp/test/Makefile +++ b/exampleApp/test/Makefile @@ -38,7 +38,9 @@ testHarness_SRCS += epicsRunExampleTests.c exampleTestHarness_SRCS += $(testHarness_SRCS) exampleTestHarness_SRCS_RTEMS += rtemsTestHarness.c +ifdef BASE_7_0 PROD_SRCS_RTEMS += rtemsTestData.c +endif PROD_vxWorks = exampleTestHarness PROD_RTEMS = exampleTestHarness @@ -54,5 +56,7 @@ endif include $(TOP)/configure/RULES +ifdef BASE_7_0 rtemsTestData.c : $(TESTFILES) $(TOOLS)/epicsMakeMemFs.pl $(PERL) $(TOOLS)/epicsMakeMemFs.pl $@ epicsRtemsFSImage $(TESTFILES) +endif