From ee4e7f09b4fa5f3a592d1052f841b690657fc166 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Tue, 26 May 2015 15:17:50 +0200 Subject: jffs2: Move into separate library In case the zlib compression was used, then the librtemscpu.a depended on libz.a. To avoid a GCC patch or complicated link flags move the JFFS2 support into a separate library to use a simple "-ljffs2 -lz" to link the executable. --- cpukit/libfs/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cpukit/libfs/Makefile.am') diff --git a/cpukit/libfs/Makefile.am b/cpukit/libfs/Makefile.am index 531e080cb7..678234b52e 100644 --- a/cpukit/libfs/Makefile.am +++ b/cpukit/libfs/Makefile.am @@ -109,7 +109,7 @@ librfs_a_SOURCES = \ src/rfs/rtems-rfs-trace.c # JFFS2 -noinst_LIBRARIES += libjffs2.a +project_lib_LIBRARIES = libjffs2.a libjffs2_a_SOURCES = libjffs2_a_SOURCES += src/jffs2/src/build.c libjffs2_a_SOURCES += src/jffs2/src/compat-crc32.c -- cgit v1.2.3