Permalink
Browse files

replace dory with swift

  • Loading branch information...
anyc committed Feb 18, 2017
1 parent a741232 commit b665878f80936f21cec1757cdc4d10fa95af1841
@@ -1,5 +1,5 @@
BBPATH .= ":${LAYERDIR}"
BBFILES += "${LAYERDIR}/recipes*/*/*.bb ${LAYERDIR}/recipes*/*/*.bbappend"
BBFILE_COLLECTIONS += "dory-hybris-layer"
BBFILE_PATTERN_dory-hybris-layer := "^${LAYERDIR}/"
BBFILE_PRIORITY_dory-hybris-layer = "7"
BBFILE_COLLECTIONS += "swift-hybris-layer"
BBFILE_PATTERN_swift-hybris-layer := "^${LAYERDIR}/"
BBFILE_PRIORITY_swift-hybris-layer = "7"
@@ -15,7 +15,7 @@ PREFERRED_PROVIDER_virtual/android-headers = "android"
PREFERRED_PROVIDER_virtual/android-system-image = "android"
PREFERRED_VERSION_android = "lollipop"
PREFERRED_PROVIDER_virtual/kernel = "linux-dory"
PREFERRED_PROVIDER_virtual/kernel = "linux-swift"
PREFERRED_VERSION_linux = "3.10+lollipop"
KERNEL_IMAGETYPE = "zImage-dtb"
@@ -1 +1 @@
FILESEXTRAPATHS_prepend_dory := "${THISDIR}/${PN}:"
FILESEXTRAPATHS_prepend_swift := "${THISDIR}/${PN}:"
@@ -2,14 +2,14 @@ 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 = "https://dl.dropboxusercontent.com/s/cqvt6d3hkd651ku/system-swift.tar.gz"
SRC_URI[md5sum] = "05b1545b6d4013af5e035f6d0a663873"
SRC_URI[sha256sum] = "1b8a03a234ad0c3c84c399759b913435f27352a26b62474a4fe64c8e7fe19e65"
PV = "lollipop"
PACKAGE_ARCH = "${MACHINE_ARCH}"
INHIBIT_PACKAGE_STRIP = "1"
COMPATIBLE_MACHINE = "dory"
COMPATIBLE_MACHINE = "swift"
INSANE_SKIP_${PN} = "already-stripped"
S = "${WORKDIR}"
B = "${S}"
@@ -31,7 +31,7 @@ do_install() {
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]
# FIXME: QA Issue: Architecture did not match (40 to 164) on /work/swift-oe-linux-gnueabi/android/lollipop-r0/packages-split/android-system/system/vendor/firmware/adsp.b00 [arch]
do_package_qa() {
}
@@ -1,3 +1,3 @@
FILESEXTRAPATHS_prepend_dory := "${THISDIR}/brcm-patchram-plus:"
SRC_URI_append_dory = " file://patchram.service "
FILESEXTRAPATHS_prepend_swift := "${THISDIR}/brcm-patchram-plus:"
SRC_URI_append_swift = " file://patchram.service "
CFLAGS_append_dory = " -DLPM_DORY"
@@ -29,7 +29,7 @@ echo d001 > /sys/class/android_usb/android0/idProduct
echo adb > /sys/class/android_usb/android0/f_ffs/aliases
echo ffs > /sys/class/android_usb/android0/functions
echo lge > /sys/class/android_usb/android0/iManufacturer
echo dory > /sys/class/android_usb/android0/iProduct
echo swift > /sys/class/android_usb/android0/iProduct
echo asteroidasteroid > /sys/class/android_usb/android0/iSerial # What should we put here??
echo 1 > /sys/class/android_usb/android0/enable
@@ -1,2 +1,2 @@
FILESEXTRAPATHS_prepend_dory := "${THISDIR}/${PN}:"
COMPATIBLE_MACHINE_dory = "dory"
FILESEXTRAPATHS_prepend_swift := "${THISDIR}/${PN}:"
COMPATIBLE_MACHINE_swift = "swift"
@@ -7,7 +7,7 @@ LICENSE = "GPLv3"
LIC_FILES_CHKSUM = "file://COPYING;md5=84dcc94da3adb52b53ae4fa38fe49e5d"
S = "${WORKDIR}"
PACKAGE_ARCH = "${MACHINE_ARCH}"
COMPATIBLE_MACHINE = "dory"
COMPATIBLE_MACHINE = "swift"
do_install() {
install -m 0755 -d ${D}${bindir}
@@ -43,7 +43,7 @@ CONFIG_SECCOMP=y
CONFIG_BUILD_ARM_APPENDED_DTB_IMAGE=y
CONFIG_ZBOOT_ROM_TEXT=0x0
CONFIG_ZBOOT_ROM_BSS=0x0
CONFIG_CMDLINE="androidboot.hardware=dory user_debug=31 maxcpus=4 msm_rtb.filter=0x3F enable_adb ramoops.mem_address=0x30000000 ramoops.mem_size=0x200000 selinux=0 loglevel=3"
CONFIG_CMDLINE="androidboot.hardware=swift user_debug=31 maxcpus=4 msm_rtb.filter=0x3F enable_adb ramoops.mem_address=0x30000000 ramoops.mem_size=0x200000 selinux=0 loglevel=3"
CONFIG_CPU_FREQ_GOV_POWERSAVE=y
CONFIG_CPU_FREQ_GOV_USERSPACE=y
CONFIG_CPU_FREQ_GOV_ONDEMAND=y
@@ -7,6 +7,6 @@ base_addr=0x00000000
kernel_offset=0x00008000
ramdisk_offset=0x02000000
tags_offset=0x01e00000
cmd_line='androidboot.hardware=dory user_debug=31 maxcpus=4 msm_rtb.filter=0x3F pm_levels.sleep_disabled=1 selinux=0'
board="dory"
cmd_line='androidboot.hardware=swift user_debug=31 maxcpus=4 msm_rtb.filter=0x3F pm_levels.sleep_disabled=1 selinux=0'
board="swift"
format=gzip
@@ -6,9 +6,9 @@ SUMMARY = "Android kernel for the LG G Watch"
HOMEPAGE = "https://android.googlesource.com/"
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://COPYING;md5=d7810fab7487fb0aad327b76f1be7cd7"
COMPATIBLE_MACHINE = "dory"
COMPATIBLE_MACHINE = "swift"
SRC_URI = "git://android.googlesource.com/kernel/msm;branch=android-msm-dory-3.10-lollipop-mr1-wear-release;protocol=https \
SRC_URI = "git://android.googlesource.com/kernel/msm;branch=android-msm-swift-3.10-lollipop-mr1-wear-release;protocol=https \
file://defconfig \
file://img_info \
file://0001-Backport-mainline-4.1-Bluetooth-subsystem.patch \
@@ -1 +1 @@
RDEPENDS_${PN}_append_dory = " qt5-qpa-hwcomposer-plugin qtscenegraph-adaptation "
RDEPENDS_${PN}_append_swift = " qt5-qpa-hwcomposer-plugin qtscenegraph-adaptation "
@@ -1 +1 @@
DEPENDS_append_dory = " libhybris "
DEPENDS_append_swift = " libhybris "
@@ -1,4 +1,4 @@
SRC_URI_append_dory = " \
SRC_URI_append_swift = " \
file://0002-Add-QCOM_BSP-define-switch.patch;striplevel=2 \
file://004-Includes-sync.h-which-provides-sync_wait.patch;striplevel=2 \
"
@@ -1 +1 @@
RDEPENDS_${PN}_append_dory = "qt5-feedback-haptics-droid-vibrator"
RDEPENDS_${PN}_append_swift = "qt5-feedback-haptics-droid-vibrator"

0 comments on commit b665878

Please sign in to comment.