4.115
Last change
on this file since 67901a82 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
|
Rev | Line | |
---|
[0282e83] | 1 | |
---|
| 2 | rtems_tests_PROGRAMS = jffs2_fslink |
---|
| 3 | jffs2_fslink_SOURCES = ../fslink/test.c |
---|
| 4 | jffs2_fslink_SOURCES += ../support/fstest_support.c |
---|
| 5 | jffs2_fslink_SOURCES += ../support/fstest_support.h |
---|
| 6 | jffs2_fslink_SOURCES += ../support/fstest.h |
---|
| 7 | jffs2_fslink_SOURCES += ../../psxtests/include/pmacros.h |
---|
| 8 | jffs2_fslink_SOURCES += ../jffs2_support/fs_support.c |
---|
| 9 | jffs2_fslink_SOURCES += ../jffs2_support/fs_config.h |
---|
[ee4e7f0] | 10 | jffs2_fslink_LDADD = -ljffs2 |
---|
[0282e83] | 11 | |
---|
[a136fb6] | 12 | dist_rtems_tests_DATA = jffs2_fslink.scn |
---|
[0282e83] | 13 | #dist_rtems_tests_DATA += jffs2_fslink.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 | |
---|
[ee4e7f0] | 25 | LINK_OBJS = $(jffs2_fslink_OBJECTS) $(jffs2_fslink_LDADD) |
---|
[0282e83] | 26 | LINK_LIBS = $(jffs2_fslink_LDLIBS) |
---|
| 27 | |
---|
| 28 | jffs2_fslink$(EXEEXT): $(jffs2_fslink_OBJECTS) $(jffs2_fslink_DEPENDENCIES) |
---|
| 29 | @rm -f jffs2_fslink$(EXEEXT) |
---|
| 30 | $(make-exe) |
---|
| 31 | |
---|
| 32 | include $(top_srcdir)/../automake/local.am |
---|
Note: See
TracBrowser
for help on using the repository browser.