Skip to content

Instantly share code, notes, and snippets.

@Tofee
Created January 3, 2017 20:06
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/3d5736b57eb7bc8c7f83085fa2461b5c to your computer and use it in GitHub Desktop.
Save Tofee/3d5736b57eb7bc8c7f83085fa2461b5c to your computer and use it in GitHub Desktop.
Local manifest for hybris Android HAL on top of CM-12.1, to be used with mer-hybris' hybris-12.1 main manifest.
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<!-- <remove-project name="mer-hybris/hybris-boot" /> -->
<remove-project name="mer-hybris/mer-kernel-check" />
<!-- Mako
<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"/>
-->
<!-- Maguro -->
<project path="device/samsung/maguro" name="CyanogenMod/android_device_samsung_maguro" revision="stable/cm-12.1-YOG7D" />
<project path="device/samsung/tuna" name="CyanogenMod/android_device_samsung_tuna" revision="stable/cm-12.1-YOG7D" />
<project path="kernel/samsung/tuna" name="CyanogenMod/android_kernel_samsung_tuna" revision="stable/cm-12.1-YOG7D"/>
<!-- note that init.tuna.rc needs to be tweaked a bit, to replace the path /system/lib/modules/pvrsrvkm_sgx540_120.ko by
/hal-hybris/system/lib/modules/pvrsrvkm_sgx540_120.ko -->
<!-- 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 Jan 4, 2017

Here are the commands I used to build it:

. build/envsetup.sh
export USE_CCACHE=1
breakfast maguro
make -j4 hybris-hal

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