aboutsummaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-daemons/opensaf
AgeCommit message (Collapse)Author
2017-07-17opensaf: Add -latomic to LDFLAGSMingli Yu
* Add "-Wl,--as-needed -latomic -Wl,--no-as-needed" to LDFLAGS to let the libatomic handled automatically if required to fix below build error as atomic operations on some arch such as x86 are supplied by the compiler. For other arch which lacks the instructions, a standardized external call provided by external library libatomic will be made to perform the operation. | src/amf/amfd/bin_osafamfd-main.o: In function `std::__atomic_base<unsigned long long>::load(std::memory_order) const': | $Prj/build/tmp/work/ppc7400-wrs-linux/opensaf/5.2.0-r0/recipe-sysroot/usr/include/c++/6.3.0/bits/atomic_base.h:396: undefined reference to `__atomic_load_8' | $Prj/build/tmp/work/ppc7400-wrs-linux/opensaf/5.2.0-r0/recipe-sysroot/usr/include/c++/6.3.0/bits/atomic_base.h:396: undefined reference to `__atomic_load_8' | collect2: error: ld returned 1 exit status | make[2]: *** [Makefile:8200: bin/osafamfd] Error 1 | make[2]: *** Waiting for unfinished jobs.... | make[2]: Leaving directory '$Prj/build/tmp/work/ppc7400-wrs-linux/opensaf/5.2.0-r0/build' | make[1]: *** [Makefile:19749: all-recursive] Error 1 | make[1]: Leaving directory '$Prj/build/tmp/work/ppc7400-wrs-linux/opensaf/5.2.0-r0/build' | make: *** [Makefile:6175: all] Error 2 Reference: https://gcc.gnu.org/wiki/Atomic/GCCMM/LIbrary#line-23 Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
2017-04-27opensaf: Upgrade to 5.2.0Khem Raj
Fix build with gcc7 Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2016-12-15opensaf: fix QA Issuedengke.du@windriver.com
Move the do_sysvinit_install contents to do_install_append. Signed-off-by: Dengke Du <dengke.du@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2016-08-16opensaf: make sure /etc/init.d/opensafd existDai Caiyun
when disable sysvinit and specify "systemd" in DISTRO_FEATURES, the recipe "inhert systemd" will delete "/etc/init.d/opensafd",but "/etc/init.d/opensafd" is needed to start opensafd.service. Signed-off-by: Dai Caiyun <daicy.fnst@cn.fujitsu.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2016-06-01opensaf: update to 5.0.0Armin Kuster
clean up to meet style guide Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2016-01-26opensaf: 4.6.0 -> 4.7.0Dai Caiyun
1) Upgrade opensaf from 4.6.0 to 4.7.0. 2) Delete two patches,since they are not needed any more. Revert_imma_client_node_replyPending_to_unsigned_char.patch Fix_GCC_5.1.0_compiler_warning.patch Signed-off-by: Dai Caiyun <daicy.fnst@cn.fujitsu.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2015-11-30opensaf: remove unused service fileLi Xin
Upstream ships systemd service file plmcboot.service and plmcd.service now, so we don't need this anymore. Signed-off-by: Li Xin <lixin.fnst@cn.fujitsu.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2015-09-14opensaf: fix build errors with gcc 5Kai Kang
Backport patches from upstream to fix opensaf build failures with gcc 5. Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2015-08-06opensaf: upgrade 4.5.0 -> 4.6.0Li xin
Signed-off-by: Li Xin <lixin.fnst@cn.fujitsu.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2015-07-30opensaf: add optional openhpi supportJoe MacDonald
OpenSAF uses OpenHPI if available. If openhpi happens to be in PACKAGECONFIG from the build, turn on support in OpenSAF and add it to the DEPENDS list. Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2015-07-16opensaf: Fix warning and add systemd service files.Li xin
1) WARNING: The recipe opensaf is trying to install files into a shared area when those files already exist,so set --libdir=${libdir}/opensaf 2) Add systemd service file plmcboot.service and plmcd.service. Signed-off-by: Li Xin <lixin.fnst@cn.fujitsu.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2015-06-05meta-networking: standardize SECTION valuesJoe MacDonald
SECTION has been used inconsistently throughout the recipes in this layer. Convert them to all use the same convention. Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2015-05-08opensaf: RDEPENDS on python and bashRobert Yang
python: opensaf/usr/share/opensaf/samples/immsv/immom_python/immom.py bash: opensaf/usr/share/opensaf/immxml/verify.sh opensaf/usr/share/opensaf/immxml/immxml-modify-config opensaf/usr/share/opensaf/immxml/immxml-configure opensaf/usr/share/opensaf/immxml/immxml-clustersize opensaf/usr/share/opensaf/immxml/immxml-nodegen opensaf/usr/share/opensaf/samples/INSTALL opensaf/usr/share/opensaf/samples/smfsv/campaigns/smf-verify opensaf/usr/lib/opensaf/configure_tipc Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2015-05-08opensaf: install opensafd.serviceRobert Yang
Fixed when systemd: ERROR: Function failed: SYSTEMD_SERVICE_opensaf value opensafd.service does not exist Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2015-01-26opensaf: update SRC_URI and install actionsJoe MacDonald
The default configuration for OpenSAF creates /run and /var/lock during install time. Tweak the recipe to use ${localstatedir} as other recipes do, and clean up at the end of do_install. Swap the hard-coded SRC_URI with ${SOURCEFORGE_MIRROR} while we're at it. Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-01-26opensaf: add recipeBian Naimeng
OpenSAF is an open source implementation of the SAF AIS specification Signed-off-by: Bian Naimeng <biannm@cn.fujitsu.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>