4.115
Last change
on this file since ee4e7f0 was
ee4e7f0,
checked in by Sebastian Huber <sebastian.huber@…>, on 05/26/15 at 13:17:50
|
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.
|
-
Property mode set to
100644
|
File size:
1.1 KB
|
Line | |
---|
1 | |
---|
2 | rtems_tests_PROGRAMS = jffs2_fserror |
---|
3 | jffs2_fserror_SOURCES = ../fserror/test.c |
---|
4 | jffs2_fserror_SOURCES += ../support/fstest_support.c |
---|
5 | jffs2_fserror_SOURCES += ../support/fstest_support.h |
---|
6 | jffs2_fserror_SOURCES += ../support/fstest.h |
---|
7 | jffs2_fserror_SOURCES += ../../psxtests/include/pmacros.h |
---|
8 | jffs2_fserror_SOURCES += ../jffs2_support/fs_support.c |
---|
9 | jffs2_fserror_SOURCES += ../jffs2_support/fs_config.h |
---|
10 | jffs2_fserror_LDADD = -ljffs2 |
---|
11 | |
---|
12 | dist_rtems_tests_DATA = jffs2_fserror.scn |
---|
13 | #dist_rtems_tests_DATA += jffs2_fserror.doc |
---|
14 | |
---|
15 | include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg |
---|
16 | include $(top_srcdir)/../automake/compile.am |
---|
17 | include $(top_srcdir)/../automake/leaf.am |
---|
18 | |
---|
19 | |
---|
20 | AM_CPPFLAGS += -I$(top_srcdir)/support |
---|
21 | AM_CPPFLAGS += -I$(top_srcdir)/jffs2_support |
---|
22 | AM_CPPFLAGS += -I$(top_srcdir)/../support/include |
---|
23 | AM_CPPFLAGS += -I$(top_srcdir)/../psxtests/include |
---|
24 | |
---|
25 | LINK_OBJS = $(jffs2_fserror_OBJECTS) $(jffs2_fserror_LDADD) |
---|
26 | LINK_LIBS = $(jffs2_fserror_LDLIBS) |
---|
27 | |
---|
28 | jffs2_fserror$(EXEEXT): $(jffs2_fserror_OBJECTS) $(jffs2_fserror_DEPENDENCIES) |
---|
29 | @rm -f jffs2_fserror$(EXEEXT) |
---|
30 | $(make-exe) |
---|
31 | |
---|
32 | include $(top_srcdir)/../automake/local.am |
---|
Note: See
TracBrowser
for help on using the repository browser.