-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AndroidBuild #7
Comments
The "no rule to make target...." error appears when the Android.mk files of opentee-engine are not visible in the android source tree you have.
The android make searches in all the subdirectories in it's root dir to find the makefiles for the specific modules mentioned. |
Thanks for your reply, In my system, the directory structure look likes your mention: |
This is weird.
|
Thank you very much, |
Hello I am experiencing the following issue when I invoke Which results in the following error:
When I run
I have made a Symlink to Open-TEE project as Any suggestions would be much appreciated. |
For some reason it cannot find the Android.mk make file that contains the opentee-engine module. This file is in |
Then running Yes I am running in the android_source folder. I have run
Any thoughts on why this might not build? When I download the project with |
I always use the
in them. |
Both Android.mk have the exact content as shown above. The includes are when running
No sign of Open-TEE being included. So the Android.mk files in Open-TEE and Open-TEE/emulator are not being picked up by make. Also my environment variables I set are:
|
I'm really not sure what might be causing this. Could you rename your Open-TEE folder to just "opentee" ? It's a longshot but it might have an issue with caps or symbols like dash. I always named it just "opentee". |
Deleted the symlink and recreated with name "opentee". I then run
Again from inspecting the output from running make, "opentee" does not appear. |
I have tried to run and build this all on another machine of mine. It has a fresh install of Ubuntu 14.04 on and it still results in the same error as above when running |
I have it building and running just now. It appears that doing a symlink to opentee for me did not work. Instead I cloned Open-TEE directly into my |
It would be far-fetched but could you try with the cyanogenmod android tree? https://github.com/CyanogenMod/android Also try to run If nothing works I'll redo the whole setup on my local machine during the weekend cause I'm busy now and try to debug this. |
I tried to run Thank you for all your support so far it is very much appreciated :D |
What operating system and shell are you building on? I know that I had problems when I used zsh instead of bash in a similar case so I had to default to that. I always built on an Ubuntu x86_64 14.04 VM. |
Ubuntu 14.04 LTS, 64-bit with Bash shell. Native install not on a VM but won't make a difference I am sure. Will let you know the result of CM and I am happy to debug / try things for you if you need any assistance. :) |
I have always had issues with symlinks in the Android tree once it is On Thu, Oct 1, 2015 at 5:09 PM, Jorden Whitefield [email protected]
|
@uberspot I have tried the same with CyanogenMod 12.1 and using the sym link it results in the same issue. It does work if I copy opentee in to the android_source root. |
Hello everyone, Like thinhlevinh I'm trying to build Open tee on Android but I'm using an Ubuntu 14.04 virtualbox. VirtualBox:~/android_source$ lunch You're building on Linux Lunch menu... pick a combo: I chose the third then make clean && make opentee-engine pass without problem VirtualBox:~/android_source$ make libManagerApiPLATFORM_VERSION_CODENAME=REL BUILD_ID=ITL41Dtarget C: libManagerApi <= Open-TEE/emulator/manager/ext_storage_stream_api_posix.c I have search on the web but nothing helped me. |
shall take a look at it next week |
okay, it looks like those definitions have moved from libc/include/time.h to libc/kernel/common/linux/time.h I don't have a proper dev env up at the moment so it'll take a little bit before I can try a fix. If anyone else feels up to the task please do :p |
Hello,
I have some problems, could you please help me out?
I finish your tutorial and go to the next step AndroidBuild
I run
"lunch"
and it appears the menu like this
" 1. full-eng
2. full_x86-eng
3. vbox_x86-eng
"- only 3 options.
I chose 1 (also check with 2 and 3)
However, when I run "make clean && make ..."
the error shows
" PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.0.1
TARGET_PRODUCT=full
TARGET_BUILD_VARIANT=eng
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a
HOST_ARCH=x86
HOST_OS=linux
HOST_BUILD_TYPE=release
BUILD_ID=ITL41D
Checking build tools versions...
make: *** No rule to make target `opentee-engine'. Stop.
"
The text was updated successfully, but these errors were encountered: