Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 1 | require gcc-configure-common.inc |
| 2 | |
Patrick Williams | c0f7c04 | 2017-02-23 20:41:17 -0600 | [diff] [blame] | 3 | SUMMARY = "Runtime libraries from GCC" |
| 4 | |
Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 5 | # Over-ride the LICENSE set by gcc-${PV}.inc to remove "& GPLv3" |
| 6 | # All gcc-runtime packages are now covered by the runtime exception. |
| 7 | LICENSE = "GPL-3.0-with-GCC-exception" |
| 8 | |
| 9 | CXXFLAGS_remove = "-fvisibility-inlines-hidden" |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 10 | |
| 11 | EXTRA_OECONF_PATHS = "\ |
| 12 | --with-gxx-include-dir=${includedir}/c++/${BINV} \ |
| 13 | --with-sysroot=/not/exist \ |
| 14 | --with-build-sysroot=${STAGING_DIR_TARGET} \ |
| 15 | " |
| 16 | |
| 17 | EXTRA_OECONF_append_linuxstdbase = " --enable-clocale=gnu" |
| 18 | |
Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 19 | RUNTIMELIBITM = "libitm" |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 20 | RUNTIMELIBITM_arc = "" |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 21 | RUNTIMELIBITM_mipsarch = "" |
Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 22 | RUNTIMELIBITM_nios2 = "" |
| 23 | RUNTIMELIBITM_microblaze = "" |
Brad Bishop | 0011132 | 2018-04-01 22:23:53 -0400 | [diff] [blame] | 24 | RUNTIMELIBITM_riscv32 = "" |
| 25 | RUNTIMELIBITM_riscv64 = "" |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 26 | RUNTIMELIBSSP ?= "" |
| 27 | RUNTIMELIBSSP_mingw32 ?= "libssp" |
Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 28 | |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 29 | RUNTIMETARGET = "${RUNTIMELIBSSP} libstdc++-v3 libgomp libatomic ${RUNTIMELIBITM} \ |
Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 30 | ${@bb.utils.contains_any('FORTRAN', [',fortran',',f77'], 'libquadmath', '', d)} \ |
| 31 | " |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 32 | RUNTIMETARGET_append_x86 = " libmpx" |
| 33 | RUNTIMETARGET_append_x86-64 = " libmpx" |
| 34 | RUNTIMETARGET_remove_libc-musl = "libmpx" |
Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 35 | |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 36 | # libiberty |
| 37 | # libmudflap |
| 38 | # libgfortran needs separate recipe due to libquadmath dependency |
| 39 | |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 40 | SLIB = "${TMPDIR}/work-shared/gcc-${PV}-${PR}/gcc-${PV}" |
| 41 | SLIB_NEW = "/usr/src/debug/${PN}/${EXTENDPE}${PV}-${PR}" |
| 42 | |
| 43 | DEBUG_PREFIX_MAP_class-target = " \ |
| 44 | -fdebug-prefix-map=${WORKDIR}/recipe-sysroot= \ |
| 45 | -fdebug-prefix-map=${WORKDIR}/recipe-sysroot-native= \ |
| 46 | -fdebug-prefix-map=${SLIB}=${SLIB_NEW} \ |
| 47 | -fdebug-prefix-map=${SLIB}/include=${SLIB_NEW}/libstdc++-v3/../include \ |
| 48 | -fdebug-prefix-map=${SLIB}/libiberty=${SLIB_NEW}/libstdc++-v3/../libiberty \ |
| 49 | -fdebug-prefix-map=${B}=${SLIB_NEW} \ |
| 50 | " |
| 51 | |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 52 | do_configure () { |
| 53 | export CXX="${CXX} -nostdinc++ -nostdlib++" |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 54 | for d in libgcc ${RUNTIMETARGET}; do |
| 55 | echo "Configuring $d" |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 56 | rm -rf ${B}/${TARGET_SYS}/$d/ |
| 57 | mkdir -p ${B}/${TARGET_SYS}/$d/ |
| 58 | cd ${B}/${TARGET_SYS}/$d/ |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 59 | chmod a+x ${S}/$d/configure |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 60 | relpath=${@os.path.relpath("${S}/$d", "${B}/${TARGET_SYS}/$d")} |
Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 61 | $relpath/configure ${CONFIGUREOPTS} ${EXTRA_OECONF} |
Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 62 | if [ "$d" = "libgcc" ]; then |
| 63 | (cd ${B}/${TARGET_SYS}/libgcc; oe_runmake enable-execute-stack.c unwind.h md-unwind-support.h sfp-machine.h gthr-default.h) |
| 64 | fi |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 65 | done |
| 66 | } |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 67 | EXTRACONFFUNCS += "extract_stashed_builddir" |
| 68 | do_configure[depends] += "${COMPILERDEP}" |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 69 | |
| 70 | do_compile () { |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 71 | for d in libgcc ${RUNTIMETARGET}; do |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 72 | cd ${B}/${TARGET_SYS}/$d/ |
| 73 | oe_runmake MULTIBUILDTOP=${B}/${TARGET_SYS}/$d/ |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 74 | done |
| 75 | } |
| 76 | |
| 77 | do_install () { |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 78 | for d in ${RUNTIMETARGET}; do |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 79 | cd ${B}/${TARGET_SYS}/$d/ |
| 80 | oe_runmake 'DESTDIR=${D}' MULTIBUILDTOP=${B}/${TARGET_SYS}/$d/ install |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 81 | done |
| 82 | rm -rf ${D}${infodir}/libgomp.info ${D}${infodir}/dir |
Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 83 | rm -rf ${D}${infodir}/libitm.info ${D}${infodir}/dir |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 84 | rm -rf ${D}${infodir}/libquadmath.info ${D}${infodir}/dir |
| 85 | if [ -d ${D}${libdir}/gcc/${TARGET_SYS}/${BINV}/finclude ]; then |
| 86 | rmdir --ignore-fail-on-non-empty -p ${D}${libdir}/gcc/${TARGET_SYS}/${BINV}/finclude |
| 87 | fi |
| 88 | if [ -d ${D}${infodir} ]; then |
| 89 | rmdir --ignore-fail-on-non-empty -p ${D}${infodir} |
| 90 | fi |
Patrick Williams | f1e5d69 | 2016-03-30 15:21:19 -0500 | [diff] [blame] | 91 | if [ "${TARGET_VENDOR_MULTILIB_ORIGINAL}" != "" -a "${TARGET_VENDOR}" != "${TARGET_VENDOR_MULTILIB_ORIGINAL}" ]; then |
| 92 | ln -s ${TARGET_SYS} ${D}${includedir}/c++/${BINV}/${TARGET_ARCH}${TARGET_VENDOR_MULTILIB_ORIGINAL}-${TARGET_OS} |
| 93 | fi |
Patrick Williams | c0f7c04 | 2017-02-23 20:41:17 -0600 | [diff] [blame] | 94 | |
| 95 | } |
| 96 | |
| 97 | do_install_append_class-target () { |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 98 | if [ "${TARGET_OS}" = "linux-gnuspe" ]; then |
| 99 | ln -s ${TARGET_SYS} ${D}${includedir}/c++/${BINV}/${TARGET_ARCH}${TARGET_VENDOR}-linux |
| 100 | fi |
Patrick Williams | c0f7c04 | 2017-02-23 20:41:17 -0600 | [diff] [blame] | 101 | |
| 102 | if [ "${TARGET_OS}" = "linux-gnun32" ]; then |
| 103 | if [ "${MULTILIBS}" != "" ]; then |
| 104 | mkdir ${D}${includedir}/c++/${BINV}/${TARGET_ARCH}-pokymllib64-linux |
| 105 | ln -s ../${TARGET_SYS} ${D}${includedir}/c++/${BINV}/${TARGET_ARCH}-pokymllib64-linux/32 |
| 106 | else |
| 107 | ln -s ${TARGET_SYS} ${D}${includedir}/c++/${BINV}/${TARGET_ARCH}${TARGET_VENDOR}-linux |
| 108 | fi |
| 109 | fi |
| 110 | if [ "${TARGET_OS}" = "linux-gnux32" ]; then |
| 111 | if [ "${MULTILIBS}" != "" ]; then |
| 112 | mkdir ${D}${includedir}/c++/${BINV}/${TARGET_ARCH}-poky-linux |
| 113 | ln -s ../${TARGET_SYS} ${D}${includedir}/c++/${BINV}/${TARGET_ARCH}-poky-linux/x32 |
| 114 | else |
| 115 | ln -s ${TARGET_SYS} ${D}${includedir}/c++/${BINV}/${TARGET_ARCH}${TARGET_VENDOR}-linux |
| 116 | fi |
| 117 | fi |
| 118 | |
| 119 | if [ "${TCLIBC}" != "glibc" ]; then |
| 120 | case "${TARGET_OS}" in |
Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 121 | "linux-musl" | "linux-*spe") extra_target_os="linux";; |
| 122 | "linux-musleabi") extra_target_os="linux-gnueabi";; |
Patrick Williams | c0f7c04 | 2017-02-23 20:41:17 -0600 | [diff] [blame] | 123 | *) extra_target_os="linux";; |
| 124 | esac |
| 125 | ln -s ${TARGET_SYS} ${D}${includedir}/c++/${BINV}/${TARGET_ARCH}${TARGET_VENDOR}-$extra_target_os |
| 126 | fi |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 127 | chown -R root:root ${D} |
| 128 | } |
| 129 | |
| 130 | INHIBIT_DEFAULT_DEPS = "1" |
| 131 | DEPENDS = "virtual/${TARGET_PREFIX}gcc virtual/${TARGET_PREFIX}g++ libgcc" |
| 132 | PROVIDES = "virtual/${TARGET_PREFIX}compilerlibs" |
| 133 | |
| 134 | BBCLASSEXTEND = "nativesdk" |
| 135 | |
| 136 | PACKAGES = "\ |
| 137 | ${PN}-dbg \ |
| 138 | libstdc++ \ |
| 139 | libstdc++-precompile-dev \ |
| 140 | libstdc++-dev \ |
| 141 | libstdc++-staticdev \ |
| 142 | libg2c \ |
| 143 | libg2c-dev \ |
| 144 | libssp \ |
| 145 | libssp-dev \ |
| 146 | libssp-staticdev \ |
| 147 | libmudflap \ |
| 148 | libmudflap-dev \ |
| 149 | libmudflap-staticdev \ |
| 150 | libquadmath \ |
| 151 | libquadmath-dev \ |
| 152 | libquadmath-staticdev \ |
| 153 | libgomp \ |
| 154 | libgomp-dev \ |
| 155 | libgomp-staticdev \ |
| 156 | libatomic \ |
| 157 | libatomic-dev \ |
| 158 | libatomic-staticdev \ |
Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 159 | libitm \ |
| 160 | libitm-dev \ |
| 161 | libitm-staticdev \ |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 162 | " |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 163 | PACKAGES_append_x86 = "\ |
| 164 | libmpx \ |
| 165 | libmpx-dev \ |
| 166 | libmpx-staticdev \ |
| 167 | " |
| 168 | |
| 169 | PACKAGES_append_x86-64 = "\ |
| 170 | libmpx \ |
| 171 | libmpx-dev \ |
| 172 | libmpx-staticdev \ |
| 173 | " |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 174 | |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 175 | # The base package doesn't exist, so we clear the recommends. |
| 176 | RRECOMMENDS_${PN}-dbg = "" |
| 177 | |
| 178 | # include python debugging scripts |
| 179 | FILES_${PN}-dbg += "\ |
| 180 | ${libdir}/libstdc++.so.*-gdb.py \ |
| 181 | ${datadir}/gcc-${BINV}/python/libstdcxx \ |
| 182 | " |
| 183 | |
| 184 | FILES_libg2c = "${target_libdir}/libg2c.so.*" |
Patrick Williams | c0f7c04 | 2017-02-23 20:41:17 -0600 | [diff] [blame] | 185 | SUMMARY_libg2c = "Companion runtime library for g77" |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 186 | FILES_libg2c-dev = "\ |
| 187 | ${libdir}/libg2c.so \ |
| 188 | ${libdir}/libg2c.a \ |
| 189 | ${libdir}/libfrtbegin.a \ |
| 190 | " |
Patrick Williams | c0f7c04 | 2017-02-23 20:41:17 -0600 | [diff] [blame] | 191 | SUMMARY_libg2c-dev = "Companion runtime library for g77 - development files" |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 192 | |
| 193 | FILES_libstdc++ = "${libdir}/libstdc++.so.*" |
Patrick Williams | c0f7c04 | 2017-02-23 20:41:17 -0600 | [diff] [blame] | 194 | SUMMARY_libstdc++ = "GNU standard C++ library" |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 195 | FILES_libstdc++-dev = "\ |
| 196 | ${includedir}/c++/ \ |
| 197 | ${libdir}/libstdc++.so \ |
Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 198 | ${libdir}/libstdc++*.la \ |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 199 | ${libdir}/libsupc++.la \ |
| 200 | " |
Patrick Williams | c0f7c04 | 2017-02-23 20:41:17 -0600 | [diff] [blame] | 201 | SUMMARY_libstdc++-dev = "GNU standard C++ library - development files" |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 202 | FILES_libstdc++-staticdev = "\ |
Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 203 | ${libdir}/libstdc++*.a \ |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 204 | ${libdir}/libsupc++.a \ |
| 205 | " |
Patrick Williams | c0f7c04 | 2017-02-23 20:41:17 -0600 | [diff] [blame] | 206 | SUMMARY_libstdc++-staticdev = "GNU standard C++ library - static development files" |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 207 | |
| 208 | FILES_libstdc++-precompile-dev = "${includedir}/c++/${TARGET_SYS}/bits/*.gch" |
Patrick Williams | c0f7c04 | 2017-02-23 20:41:17 -0600 | [diff] [blame] | 209 | SUMMARY_libstdc++-precompile-dev = "GNU standard C++ library - precompiled header files" |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 210 | |
| 211 | FILES_libssp = "${libdir}/libssp.so.*" |
Patrick Williams | c0f7c04 | 2017-02-23 20:41:17 -0600 | [diff] [blame] | 212 | SUMMARY_libssp = "GNU stack smashing protection library" |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 213 | FILES_libssp-dev = "\ |
| 214 | ${libdir}/libssp*.so \ |
| 215 | ${libdir}/libssp*_nonshared.a \ |
| 216 | ${libdir}/libssp*.la \ |
| 217 | ${libdir}/gcc/${TARGET_SYS}/${BINV}/include/ssp \ |
| 218 | " |
Patrick Williams | c0f7c04 | 2017-02-23 20:41:17 -0600 | [diff] [blame] | 219 | SUMMARY_libssp-dev = "GNU stack smashing protection library - development files" |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 220 | FILES_libssp-staticdev = "${libdir}/libssp*.a" |
Patrick Williams | c0f7c04 | 2017-02-23 20:41:17 -0600 | [diff] [blame] | 221 | SUMMARY_libssp-staticdev = "GNU stack smashing protection library - static development files" |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 222 | |
| 223 | FILES_libquadmath = "${libdir}/libquadmath*.so.*" |
Patrick Williams | c0f7c04 | 2017-02-23 20:41:17 -0600 | [diff] [blame] | 224 | SUMMARY_libquadmath = "GNU quad-precision math library" |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 225 | FILES_libquadmath-dev = "\ |
| 226 | ${libdir}/gcc/${TARGET_SYS}/${BINV}/include/quadmath* \ |
| 227 | ${libdir}/libquadmath*.so \ |
| 228 | ${libdir}/libquadmath.la \ |
| 229 | " |
Patrick Williams | c0f7c04 | 2017-02-23 20:41:17 -0600 | [diff] [blame] | 230 | SUMMARY_libquadmath-dev = "GNU quad-precision math library - development files" |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 231 | FILES_libquadmath-staticdev = "${libdir}/libquadmath.a" |
Patrick Williams | c0f7c04 | 2017-02-23 20:41:17 -0600 | [diff] [blame] | 232 | SUMMARY_libquadmath-staticdev = "GNU quad-precision math library - static development files" |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 233 | |
Patrick Williams | c0f7c04 | 2017-02-23 20:41:17 -0600 | [diff] [blame] | 234 | # NOTE: mudflap has been removed as of gcc 4.9 and has been superseded by the address sanitiser |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 235 | FILES_libmudflap = "${libdir}/libmudflap*.so.*" |
Patrick Williams | c0f7c04 | 2017-02-23 20:41:17 -0600 | [diff] [blame] | 236 | SUMMARY_libmudflap = "Pointer debugging library for gcc" |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 237 | FILES_libmudflap-dev = "\ |
| 238 | ${libdir}/libmudflap*.so \ |
| 239 | ${libdir}/libmudflap.la \ |
| 240 | " |
Patrick Williams | c0f7c04 | 2017-02-23 20:41:17 -0600 | [diff] [blame] | 241 | SUMMARY_libmudflap-dev = "Pointer debugging library for gcc - development files" |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 242 | FILES_libmudflap-staticdev = "${libdir}/libmudflap.a" |
Patrick Williams | c0f7c04 | 2017-02-23 20:41:17 -0600 | [diff] [blame] | 243 | SUMMARY_libmudflap-staticdev = "Pointer debugging library for gcc - static development files" |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 244 | |
| 245 | FILES_libgomp = "${libdir}/libgomp*${SOLIBS}" |
Patrick Williams | c0f7c04 | 2017-02-23 20:41:17 -0600 | [diff] [blame] | 246 | SUMMARY_libgomp = "GNU OpenMP parallel programming library" |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 247 | FILES_libgomp-dev = "\ |
| 248 | ${libdir}/libgomp*${SOLIBSDEV} \ |
| 249 | ${libdir}/libgomp*.la \ |
| 250 | ${libdir}/libgomp.spec \ |
| 251 | ${libdir}/gcc/${TARGET_SYS}/${BINV}/include/omp.h \ |
| 252 | " |
Patrick Williams | c0f7c04 | 2017-02-23 20:41:17 -0600 | [diff] [blame] | 253 | SUMMARY_libgomp-dev = "GNU OpenMP parallel programming library - development files" |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 254 | FILES_libgomp-staticdev = "${libdir}/libgomp*.a" |
Patrick Williams | c0f7c04 | 2017-02-23 20:41:17 -0600 | [diff] [blame] | 255 | SUMMARY_libgomp-staticdev = "GNU OpenMP parallel programming library - static development files" |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 256 | |
| 257 | FILES_libatomic = "${libdir}/libatomic.so.*" |
Patrick Williams | c0f7c04 | 2017-02-23 20:41:17 -0600 | [diff] [blame] | 258 | SUMMARY_libatomic = "GNU C++11 atomics support library" |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 259 | FILES_libatomic-dev = "\ |
| 260 | ${libdir}/libatomic.so \ |
| 261 | ${libdir}/libatomic.la \ |
| 262 | " |
Patrick Williams | c0f7c04 | 2017-02-23 20:41:17 -0600 | [diff] [blame] | 263 | SUMMARY_libatomic-dev = "GNU C++11 atomics support library - development files" |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 264 | FILES_libatomic-staticdev = "${libdir}/libatomic.a" |
Patrick Williams | c0f7c04 | 2017-02-23 20:41:17 -0600 | [diff] [blame] | 265 | SUMMARY_libatomic-staticdev = "GNU C++11 atomics support library - static development files" |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 266 | |
Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 267 | FILES_libitm = "${libdir}/libitm.so.*" |
Patrick Williams | c0f7c04 | 2017-02-23 20:41:17 -0600 | [diff] [blame] | 268 | SUMMARY_libitm = "GNU transactional memory support library" |
Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 269 | FILES_libitm-dev = "\ |
| 270 | ${libdir}/libitm.so \ |
| 271 | ${libdir}/libitm.la \ |
| 272 | ${libdir}/libitm.spec \ |
| 273 | " |
Patrick Williams | c0f7c04 | 2017-02-23 20:41:17 -0600 | [diff] [blame] | 274 | SUMMARY_libitm-dev = "GNU transactional memory support library - development files" |
Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 275 | FILES_libitm-staticdev = "${libdir}/libitm.a" |
Patrick Williams | c0f7c04 | 2017-02-23 20:41:17 -0600 | [diff] [blame] | 276 | SUMMARY_libitm-staticdev = "GNU transactional memory support library - static development files" |
Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 277 | |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 278 | |
| 279 | FILES_libmpx = "${libdir}/libmpx.so.* ${libdir}/libmpxwrappers.so.*" |
| 280 | SUMMARY_libmpx = "Intel Memory Protection Extension library" |
| 281 | FILES_libmpx-dev = "\ |
| 282 | ${libdir}/libmpxwrappers.so \ |
| 283 | ${libdir}/libmpxwrappers.la \ |
| 284 | ${libdir}/libmpx.so \ |
| 285 | ${libdir}/libmpx.la \ |
| 286 | ${libdir}/libmpx.spec \ |
| 287 | " |
| 288 | SUMMARY_libmpx-dev = "Intel Memory Protection Extension library - development files" |
| 289 | FILES_libmpx-staticdev = "${libdir}/libmpx.a ${libdir}/libmpxwrappers.a" |
| 290 | SUMMARY_libmpx-staticdev = "Intel Memory Protection Extension library - static development files" |
| 291 | |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 292 | do_package_write_ipk[depends] += "virtual/${MLPREFIX}libc:do_packagedata" |
| 293 | do_package_write_deb[depends] += "virtual/${MLPREFIX}libc:do_packagedata" |
| 294 | do_package_write_rpm[depends] += "virtual/${MLPREFIX}libc:do_packagedata" |