Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame^] | 1 | require newlib.inc |
| 2 | |
| 3 | PROVIDES += "virtual/libc virtual/${TARGET_PREFIX}libc-for-gcc virtual/libiconv virtual/libintl" |
| 4 | |
| 5 | do_configure() { |
| 6 | ${S}/configure ${EXTRA_OECONF} |
| 7 | } |
| 8 | |
| 9 | do_install_append() { |
| 10 | # Move include files and libs to default directories so they can be picked up later |
| 11 | mv -v ${D}${prefix}/${TARGET_SYS}/lib ${D}${libdir} |
| 12 | mv -v ${D}${prefix}/${TARGET_SYS}/include ${D}${includedir} |
| 13 | |
| 14 | # Remove original directory |
| 15 | rmdir ${D}${prefix}/${TARGET_SYS} |
| 16 | } |
| 17 | |
| 18 | # No rpm package is actually created but -dev depends on it, avoid dnf error |
| 19 | RDEPENDS_${PN}-dev_libc-newlib = "" |