blob: 4dcf80ea8ef2c6a7d870190af3c58f6c379ab1d6 [file] [log] [blame]
rjw1f884582022-01-06 17:20:42 +08001DESCRIPTION = "MediaTek AAL daemon"
2LICENSE = "MediaTekProprietary"
3
4inherit workonsrc
5WORKONSRC = "${TOPDIR}/../prebuilt/graphics/libaal"
6
7inherit pkgconfig
8
9do_configure() {
10 :
11}
12
13do_compile() {
14 oe_runmake \
15 TARGET_PLATFORM="${TARGET_PLATFORM}" \
16 CFLAGS+="${CFLAGS}"
17}
18
19do_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
25INSANE_SKIP_${PN} += "already-stripped"
26FILES_${PN}-dev = ""
27FILES_${PN} += "${includedir} ${libdir} ${bindir}"
28