blob: 4dcf80ea8ef2c6a7d870190af3c58f6c379ab1d6 [file] [log] [blame]
DESCRIPTION = "MediaTek AAL daemon"
LICENSE = "MediaTekProprietary"
inherit workonsrc
WORKONSRC = "${TOPDIR}/../prebuilt/graphics/libaal"
inherit pkgconfig
do_configure() {
:
}
do_compile() {
oe_runmake \
TARGET_PLATFORM="${TARGET_PLATFORM}" \
CFLAGS+="${CFLAGS}"
}
do_install() {
kernel_version=v`echo "${PREFERRED_VERSION_linux-mtk-extension}" | cut -d "%" -f 1`
oe_runmake \
PREFIX="${prefix}" PACKAGE_ARCH="${PACKAGE_ARCH}" TARGET_PLATFORM="${TARGET_PLATFORM}" kernel_version="${kernel_version}" DESTDIR="${D}" LIBDIR="${libdir}" INCDIR="${includedir}" install
}
INSANE_SKIP_${PN} += "already-stripped"
FILES_${PN}-dev = ""
FILES_${PN} += "${includedir} ${libdir} ${bindir}"