M7350/oe-core/meta-msm/recipes/libhardware/libhardware_git.bb

25 lines
883 B
BlitzBasic
Raw Normal View History

2024-09-09 08:57:42 +00:00
inherit autotools-brokensep
2024-09-09 08:52:07 +00:00
DESCRIPTION = "hardware libhardware headers"
HOMEPAGE = "http://codeaurora.org/"
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/\
${LICENSE};md5=89aea4e17d99a7cacdbeed46a0096b10"
2024-09-09 08:57:42 +00:00
FILESPATH =+ "${WORKSPACE}:"
SRC_URI = "file://hardware/libhardware/"
SRC_URI += "file://autotools.patch"
S = "${WORKDIR}/hardware/${PN}"
2024-09-09 08:52:07 +00:00
2024-09-09 08:57:42 +00:00
PR = "r5"
2024-09-09 08:52:07 +00:00
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
2024-09-09 08:57:42 +00:00
install -m 0644 ${S}/include/hardware/fused_location.h -D ${D}${includedir}/hardware/fused_location.h
2024-09-09 08:52:07 +00:00
}