M7350/oe-core/meta-msm/recipes/libhardware/libhardware_git.bb
2024-09-09 08:57:42 +00:00

25 lines
883 B
BlitzBasic

inherit autotools-brokensep
DESCRIPTION = "hardware libhardware headers"
HOMEPAGE = "http://codeaurora.org/"
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/\
${LICENSE};md5=89aea4e17d99a7cacdbeed46a0096b10"
FILESPATH =+ "${WORKSPACE}:"
SRC_URI = "file://hardware/libhardware/"
SRC_URI += "file://autotools.patch"
S = "${WORKDIR}/hardware/${PN}"
PR = "r5"
DEPENDS = "system-core"
do_install_append () {
install -d ${D}${includedir}
install -m 0644 ${S}/include/hardware/gps.h -D ${D}${includedir}/hardware/gps.h
install -m 0644 ${S}/include/hardware/hardware.h -D ${D}${includedir}/hardware/hardware.h
install -m 0644 ${S}/include/hardware/gralloc.h -D ${D}${includedir}/hardware/gralloc.h
install -m 0644 ${S}/include/hardware/fused_location.h -D ${D}${includedir}/hardware/fused_location.h
}