rjw | 1f88458 | 2022-01-06 17:20:42 +0800 | [diff] [blame^] | 1 | DESCRIPTION = "MediaTek AAL daemon" |
| 2 | LICENSE = "MediaTekProprietary" |
| 3 | |
| 4 | inherit workonsrc |
| 5 | WORKONSRC = "${TOPDIR}/../prebuilt/graphics/libaal" |
| 6 | |
| 7 | inherit pkgconfig |
| 8 | |
| 9 | do_configure() { |
| 10 | : |
| 11 | } |
| 12 | |
| 13 | do_compile() { |
| 14 | oe_runmake \ |
| 15 | TARGET_PLATFORM="${TARGET_PLATFORM}" \ |
| 16 | CFLAGS+="${CFLAGS}" |
| 17 | } |
| 18 | |
| 19 | do_install() { |
| 20 | kernel_version=v`echo "${PREFERRED_VERSION_linux-mtk-extension}" | cut -d "%" -f 1` |
| 21 | oe_runmake \ |
| 22 | PREFIX="${prefix}" PACKAGE_ARCH="${PACKAGE_ARCH}" TARGET_PLATFORM="${TARGET_PLATFORM}" kernel_version="${kernel_version}" DESTDIR="${D}" LIBDIR="${libdir}" INCDIR="${includedir}" install |
| 23 | } |
| 24 | |
| 25 | INSANE_SKIP_${PN} += "already-stripped" |
| 26 | FILES_${PN}-dev = "" |
| 27 | FILES_${PN} += "${includedir} ${libdir} ${bindir}" |
| 28 | |