Skip to content

Instantly share code, notes, and snippets.

@Tofee
Last active December 27, 2016 10:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Tofee/c57009c5eca19130a412c7cfaf66d26c to your computer and use it in GitHub Desktop.
Save Tofee/c57009c5eca19130a412c7cfaf66d26c to your computer and use it in GitHub Desktop.
mako.xml local manifest to be used to manifest from mer-hybris/android branch hybris-12.1
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<!-- <remove-project name="mer-hybris/hybris-boot" /> -->
<remove-project name="mer-hybris/mer-kernel-check" />
<project path="device/lge/mako" name="CyanogenMod/android_device_lge_mako" revision="stable/cm-12.1-YOG4P" />
<project path="kernel/google/msm" name="CyanogenMod/android_kernel_google_msm"/>
<!-- system/core: do our own tweaks of init.rc -->
<remove-project name="mer-hybris/android_system_core" />
<project path="system/core" name="Tofee/android_system_core" groups="pdk" revision="wop-12.1"/>
</manifest>
@Tofee
Copy link
Author

Tofee commented Nov 20, 2016

Rough steps used: use the steps described in Jolla's HADK:

  • use mer-hybris/android manifest as a base
  • use mako.xml as a local manifest
  • setup_env
  • getprebuilt in build/cm (but I think it's useless)
  • repo sync
  • make -j4 hybris-hal
  • in out/target/product/mako, for system/lib/libGLESv3.so, replace the symlink with a hardlink or a copy
  • tar with "--owner=0 --group=0" options (but that didn't solve the QA warnings)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment