Permalink
Switch branches/tags
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
41 lines (32 sloc) 1.34 KB
inherit gettext
SUMMARY = "Downloads the LG G Watch /system and /usr/include/android folders and installs them for libhybris"
LICENSE = "CLOSED"
SRC_URI = "https://dl.dropboxusercontent.com/s/cqvt6d3hkd651ku/system-dory.tar.gz"
SRC_URI[md5sum] = "05b1545b6d4013af5e035f6d0a663873"
SRC_URI[sha256sum] = "1b8a03a234ad0c3c84c399759b913435f27352a26b62474a4fe64c8e7fe19e65"
PV = "lollipop"
PACKAGE_ARCH = "${MACHINE_ARCH}"
INHIBIT_PACKAGE_STRIP = "1"
COMPATIBLE_MACHINE = "dory"
INSANE_SKIP_${PN} = "already-stripped"
S = "${WORKDIR}"
B = "${S}"
PROVIDES += "virtual/android-system-image"
PROVIDES += "virtual/android-headers"
do_install() {
install -d ${D}/system/
cp -r system/* ${D}/system/
install -d ${D}${includedir}/android
cp -r include/* ${D}${includedir}/android/
install -d ${D}${libdir}/pkgconfig
install -m 0644 ${D}${includedir}/android/android-headers.pc ${D}${libdir}/pkgconfig
rm ${D}${includedir}/android/android-headers.pc
cd ${D}
ln -s system/vendor vendor
}
# FIXME: QA Issue: Architecture did not match (40 to 164) on /work/dory-oe-linux-gnueabi/android/lollipop-r0/packages-split/android-system/system/vendor/firmware/adsp.b00 [arch]
do_package_qa() {
}
PACKAGES =+ "android-system android-headers"
FILES_android-system = "/system /vendor"
FILES_android-headers = "${libdir}/pkgconfig ${includedir}/android"