- Examples can be disabled via makefile argument, so drop the patch to
disble building them and instead disable building via makefile
argument
- Add a patch to control secure_getenv definition spill into linux/musl
case
Signed-off-by: Khem Raj <raj.khem@gmail.com>
OE use 'lib' even on x86_64 when building with multilib support disabled
and used 'lib64' with multilib
This fixes packaging errors e.g.
pmdk-1.6: pmdk: Files/directories were installed but not shipped in any package:
/usr/lib64/libpmem.so.1.0.0
/usr/lib64/libpmemblk.so.1.0.0
/usr/lib64/libpmemlog.so.1.0.0
/usr/lib64/libpmemobj.so.1.0.0
/usr/lib64/libvmem.so.1.0.0
....
Signed-off-by: Khem Raj <raj.khem@gmail.com>
1) Use git repo instead of github archive tarball.
2) PMDK libraries can be installed in lib or lib64, depending on
host building system. If host has /usr/local/lib64, libraries will
be installed in lib64, otherwise they will be installed in lib.
PMDK is only for 64-bit system, so use LIB_PREFIX=lib64 to force
the install path to be lib64.
3) Use prefix instead of PREFIX to install.
4) Remove unneeded files in /usr/lib64/pmdk_debug.
5) Add "/usr/etc" and "/usr/share" to fix package QA issue.
6) Revise patches for version 1.6. Remove upstream accepted patches.
Signed-off-by: Yongxin Liu <yongxin.liu@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>