mstflint: Fix make dist-xx Makefile targets
PATCH 1/2 mstflint: Fix make dist-xx Makefile targets
In reply to a message not in the archive Add some needed headers that make dist-xx left out of the generated
archive.
--- cmdif/Makefile.am | 2 +- mflash/Makefile.am | 2 +- mft_utils/Makefile.am | 3 ++- reg_access/Makefile.am | 2 +- 4 files changed, 5 insertions(+), 4 deletions(-)
cmdif/Makefile.am +1 -1
@@ -40,5 +40,5 @@ AM_CFLAGS = -W -Wall -Werror -g -MP -MD $(COMPILER_FPIC) -DCMDIF_EXPORTS CMDIF_VERSION = 1 noinst_LIBRARIES = libcmdif.a -libcmdif_a_SOURCES = tools_cif.c +libcmdif_a_SOURCES = tools_cif.c tools_cif.h
mflash/Makefile.am +1 -1
@@ -39,4 +39,4 @@ noinst_LIBRARIES = libmflash.a libmflash_a_SOURCES = mflash.c mflash.h\ mflash_pack_layer.c mflash_pack_layer.h mflash_access_layer.c mflash_access_layer.h\ - mflash_types.h mlash_common_structs.h + mflash_types.h mflash_common_structs.h
mft_utils/Makefile.am +2 -1
@@ -40,5 +40,6 @@ noinst_HEADERS = mft_sig_handler.h errmsg.h noinst_LIBRARIES = libmftutils.a -libmftutils_a_SOURCES = mft_sig_handler.c errmsg.cpp +libmftutils_a_SOURCES = mft_sig_handler.c errmsg.cpp \ + $(top_srcdir)/common/tools_utils.h
reg_access/Makefile.am +1 -1
@@ -42,7 +42,7 @@ AM_CFLAGS = -W -Wall -Werror -g -MP -MD $(COMPILER_FPIC) noinst_LIBRARIES = libreg_access.a -libreg_access_a_SOURCES = reg_access.c +libreg_access_a_SOURCES = reg_access.c reg_access.h libreg_access_a_DEPENDENCIES = $(USER_DIR)/tools_layouts/libtools_layouts.a libreg_access_a_LIBADD = $(libreg_access_a_DEPENDENCIES)
Signature · 6 lines
1.8.4 -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
PATCH 2/2 mstflint: Install mflash/mtcr libraries & headers
In reply to a message not in the archiveThis is necessary to be able to use libmflash & libmtcr from external programs.
This also installs the needed libreg_access.a and libtools_layouts.a.
--- mflash/Makefile.am | 8 +++++++- mstflint.spec.in | 4 ++-- mtcr_ul/Makefile.am | 5 +++-- reg_access/Makefile.am | 3 ++- tools_layouts/Makefile.am | 4 +++- 5 files changed, 17 insertions(+), 7 deletions(-)
mflash/Makefile.am +7 -1
@@ -35,8 +35,14 @@ INCLUDES= -I. -I$(top_srcdir)/include/mtcr_ul -I$(top_srcdir)/common -I$(top_src AM_CFLAGS = -MD -pipe -Wall -W -DMST_UL -g ${MFLASH_INBAND_FLAG} -noinst_LIBRARIES = libmflash.a + +libmflash_adir = $(libdir)/mstflint +libmflash_a_LIBRARIES = libmflash.a libmflash_a_SOURCES = mflash.c mflash.h\ mflash_pack_layer.c mflash_pack_layer.h mflash_access_layer.c mflash_access_layer.h\ mflash_types.h mflash_common_structs.h + +libraryincludedir=$(includedir)/mstflint +libraryinclude_HEADERS = mflash.h mflash_types.h mflash_common_structs.h \ + $(top_srcdir)/common/compatibility.h
mstflint.spec.in +2 -2
@@ -78,8 +78,8 @@ rm -rf $RPM_BUILD_ROOT %{_bindir}/mstmcra %{_bindir}/mstconfig %{_bindir}/hca_self_test.ofed -%{_includedir}/mtcr_ul/mtcr.h -%{_libdir}/libmtcr_ul.a +%{_includedir}/mstflint +%{_libdir}/mstflint/* %{_datadir}/mstflint %{_mandir}/man1/*
mtcr_ul/Makefile.am +3 -2
@@ -33,7 +33,8 @@ # Makefile.am -- Process this file with automake to produce Makefile.in INCLUDES = -I$(top_srcdir)/include/mtcr_ul -I$(top_srcdir)/common -lib_LIBRARIES = libmtcr_ul.a +libmtcr_ul_adir = $(libdir)/mstflint +libmtcr_ul_a_LIBRARIES = libmtcr_ul.a libmtcr_ul_a_SOURCES = mtcr_ul.c mtcr_ib.h mtcr_int_defs.h\ mtcr_tools_cif.c mtcr_tools_cif.h\
@@ -48,6 +49,6 @@ else libmtcr_ul_a_CFLAGS += -DNO_INBAND endif -libraryincludedir=$(includedir)/mtcr_ul +libraryincludedir=$(includedir)/mstflint libraryinclude_HEADERS = $(top_srcdir)/include/mtcr_ul/mtcr.h
reg_access/Makefile.am +2 -1
@@ -40,7 +40,8 @@ INCLUDES = -I. -I$(USER_DIR) -I$(srcdir) -I$(LAYOUTS_DIR) -I$(USER_DIR)/include/ AM_CFLAGS = -W -Wall -Werror -g -MP -MD $(COMPILER_FPIC) -noinst_LIBRARIES = libreg_access.a +libreg_access_adir = $(libdir)/mstflint +libreg_access_a_LIBRARIES = libreg_access.a libreg_access_a_SOURCES = reg_access.c reg_access.h libreg_access_a_DEPENDENCIES = $(USER_DIR)/tools_layouts/libtools_layouts.a
tools_layouts/Makefile.am +3 -1
@@ -33,7 +33,9 @@ # Makefile.am -- Process this file with automake to produce Makefile.in INCLUDES = -I$(top_srcdir)/mtcr_ul -I$(top_srcdir)/common AM_CFLAGS = -Wall -W -g -MP -MD -pipe $(COMPILER_FPIC) -noinst_LIBRARIES = libtools_layouts.a + +libtools_layouts_adir = $(libdir)/mstflint +libtools_layouts_a_LIBRARIES = libtools_layouts.a libtools_layouts_a_SOURCES = cibfw_layouts.c adb_to_c_utils.c adb_to_c_utils.h cibfw_layouts.h \ register_access_open_layouts.h register_access_open_layouts.c \
Signature · 6 lines
1.8.4 -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html