Hi,
for quite some time now I try to compile UBPorts for the Fairphone 2, but I don't seem to be smart enought
There were some syncing errors last days, probably related to server problems at Ubuntu's, but this seemed to work now.
Here's what I did:
- Sync the UBP-Repo as described here: https://wiki.ubports.com/wiki/Building-ubports-source
- Clone the Fairphone Device-Description from https://github.com/ubports/android_device_fairphone_fp2.git into device/fairphone-devices7FP2
So far, so good. What's obviously missing now is the kernel. The sources search for a kernel in kernel/fairphone - I tried with the "official" kernel from the Fairphone Open-Source project at code.fairphone.com, also including the Binary-Blobs from the same site (I put them into vendor/).
After starting make, it complains about some missing components in device/qcom/common - which are in ubport's git-repo at https://github.com/ubports/android_device_qcom_common.git - but not at the "original" CM-Repo at http://github.com/CyanogenMod/android_device_qcom_common (where this folder is loaded from by Manifest.xml). Make now get's one step further and complains about a missing "dtbToolCM" - which is at the CM-Repo but not at UBPorts'. Ok - annother copy and paste? I gues I took the wrong road quite some time ago now...
Anyway, compilation seems to work itself through the kernel now, atleast I have a file named "kernel" with about 7MB in "out". Now it's stuck at the shared libraries - I could again try to find some suitable replacement, maybe at code.fairphone.com - however I think I should start over and take the "right" kernel/device/qcom-data etc.
Somewhere deep in the makefiles theres a statement about the "MSM" kernel - so I also tried with https://github.com/ubports/android_kernel_oneplus_msm8974.git renamed to "fairphone", also no chance of course
Does someone around here happen to know which route to follow?
Thank you very much,
Alex (21347)
EDIT: I forgott to mention the exact error, it's: make: *** No rule to make target '/home/alex/phablet/out/target/product/FP2/obj/SHARED_LIBRARIES/libcurl_intermediates/export_includes', needed by '/home/alex/phablet/out/target/product/FP2/obj/EXECUTABLES/hs20-osu-client_intermediates/import_includes'. Stop.
I did now checkout curl from http://code.fairphone.com/gerrit/fp2-dev/platform/external/curl, I'll see where it ends...
EDIT 2: Ok, after copying curl and libxml from code.fairphone.com and adding the paths to build/core/main.mk they get compiled, now I have qmi.h missing; there's really something wrong here...