mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-26 23:13:13 +02:00
src/system/mtdutils: Add and patch makefiles
This commit is contained in:
@@ -222,3 +222,9 @@ src/zapit/src/Makefile
|
|||||||
src/zapit/data/Makefile
|
src/zapit/data/Makefile
|
||||||
])
|
])
|
||||||
|
|
||||||
|
if test "$BOXMODEL" = "apollo"; then
|
||||||
|
AC_OUTPUT([
|
||||||
|
src/system/mtdutils/Makefile
|
||||||
|
src/system/mtdutils/lib/Makefile
|
||||||
|
])
|
||||||
|
fi
|
||||||
|
@@ -49,6 +49,12 @@ else
|
|||||||
FLACLIBS =
|
FLACLIBS =
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
if BOXMODEL_APOLLO
|
||||||
|
MTDUTILSLIBS = \
|
||||||
|
system/mtdutils/libneutrino_system_mtdutils.a \
|
||||||
|
system/mtdutils/lib/libneutrino_system_mtdutils_lib.a
|
||||||
|
endif
|
||||||
|
|
||||||
neutrino_LDADD = \
|
neutrino_LDADD = \
|
||||||
daemonc/libneutrino_daemonc.a \
|
daemonc/libneutrino_daemonc.a \
|
||||||
gui/bedit/libneutrino_gui_bedit.a \
|
gui/bedit/libneutrino_gui_bedit.a \
|
||||||
@@ -58,6 +64,7 @@ neutrino_LDADD = \
|
|||||||
gui/widget/libneutrino_gui_widget2.a \
|
gui/widget/libneutrino_gui_widget2.a \
|
||||||
driver/pictureviewer/libneutrino_pictureviewer.a \
|
driver/pictureviewer/libneutrino_pictureviewer.a \
|
||||||
system/libneutrino_system.a \
|
system/libneutrino_system.a \
|
||||||
|
$(MTDUTILSLIBS) \
|
||||||
gui/movieinfo.o \
|
gui/movieinfo.o \
|
||||||
gui/libneutrino_gui2.a \
|
gui/libneutrino_gui2.a \
|
||||||
gui/components/libneutrino_gui_components.a \
|
gui/components/libneutrino_gui_components.a \
|
||||||
|
@@ -1,3 +1,7 @@
|
|||||||
|
if BOXMODEL_APOLLO
|
||||||
|
SUBDIRS = mtdutils
|
||||||
|
endif
|
||||||
|
|
||||||
AM_CXXFLAGS = -fno-rtti -fno-exceptions
|
AM_CXXFLAGS = -fno-rtti -fno-exceptions
|
||||||
|
|
||||||
INCLUDES = \
|
INCLUDES = \
|
||||||
|
27
src/system/mtdutils/Makefile.am
Normal file
27
src/system/mtdutils/Makefile.am
Normal file
@@ -0,0 +1,27 @@
|
|||||||
|
AM_CXXFLAGS = -D__STDC_FORMAT_MACROS
|
||||||
|
|
||||||
|
SUBDIRS = lib
|
||||||
|
|
||||||
|
INCLUDES = \
|
||||||
|
-I$(top_builddir) \
|
||||||
|
-I$(top_srcdir) \
|
||||||
|
-I$(top_srcdir)/lib \
|
||||||
|
-I$(top_srcdir)/src \
|
||||||
|
-I$(top_srcdir)/src/system/mtdutils/include
|
||||||
|
|
||||||
|
if BOXMODEL_APOLLO
|
||||||
|
INCLUDES += -I$(top_srcdir)/lib/libcoolstream2
|
||||||
|
else
|
||||||
|
INCLUDES += -I$(top_srcdir)/lib/libcoolstream
|
||||||
|
endif
|
||||||
|
|
||||||
|
noinst_LIBRARIES = libneutrino_system_mtdutils.a
|
||||||
|
|
||||||
|
libneutrino_system_mtdutils_a_SOURCES = \
|
||||||
|
compr.cpp \
|
||||||
|
compr_lzo.cpp \
|
||||||
|
compr_rtime.cpp \
|
||||||
|
compr_zlib.cpp \
|
||||||
|
mkfs.jffs2.cpp \
|
||||||
|
rbtree.cpp \
|
||||||
|
sumtool.cpp
|
16
src/system/mtdutils/lib/Makefile.am
Normal file
16
src/system/mtdutils/lib/Makefile.am
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
AM_CXXFLAGS = -D__STDC_FORMAT_MACROS
|
||||||
|
|
||||||
|
INCLUDES = \
|
||||||
|
-I$(top_builddir) \
|
||||||
|
-I$(top_srcdir) \
|
||||||
|
-I$(top_srcdir)/lib \
|
||||||
|
-I$(top_srcdir)/src \
|
||||||
|
-I$(top_srcdir)/src/system/mtdutils/include
|
||||||
|
|
||||||
|
noinst_LIBRARIES = libneutrino_system_mtdutils_lib.a
|
||||||
|
|
||||||
|
libneutrino_system_mtdutils_lib_a_SOURCES = \
|
||||||
|
libcrc32.cpp \
|
||||||
|
libfec.cpp \
|
||||||
|
libmtd.cpp \
|
||||||
|
libmtd_legacy.cpp
|
Reference in New Issue
Block a user