dt: add a local manifest and a readme

This commit is contained in:
Moyster 2017-11-21 16:36:15 +01:00
parent e9cf4c856a
commit 7c1692e382
2 changed files with 26 additions and 0 deletions

21
README.md Normal file
View File

@ -0,0 +1,21 @@
# Pre-Oreo Mediatek common-tree
> such repo, much nice, wow!
# How to download ?
Download / git clone this repository to :
`$android_src/vendor/mediatek`
or copy [vmtk.xml](https://raw.githubusercontent.com/Moyster/o_vendor_mediatek/los-15.0/vmtk.xml) to :
`$android_src/.repo/local_manifests/`
then simply `repo sync` your sources
# How to use ?
Include both `VendorConfig.mk` & `VendorProduct.mk` in your device tree like so :
- `BoardConfig.mk` :
`$(call inherit-product, $(SRC_TARGET_DIR)/vendor/mediatek/VendorConfig.mk)`
- `device(_product).mk` :
`$(call inherit-product, $(SRC_TARGET_DIR)/vendor/mediatek/VendorProduct.mk)`
# How to apply the patches ?
Patches located in the patches folder can be applied from the root of your android sources :
`. vendor/mediatek/install.sh` & `. vendor/mediatek/uninstall.sh`

5
vmtk.xml Executable file
View File

@ -0,0 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<remote fetch="git://github.com/" name="gh" />
<project name="Moyster/o_vendor_mediatek" path="vendor/mediatek" remote="gh" revision="los-15.0" />
</manifest>