-
Notifications
You must be signed in to change notification settings - Fork 1k
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
hikey_stable.xml compile failed #914
Comments
Dear marduino, |
Dear etiennec-linaro, |
The Makefile should have been created automatically when you run the |
Thank you vchong, following commands used by me and double checked, dont know what is missed, I removed the manually copied makefile, re-excute again, no makefile generated automatically
|
Did you look in |
After excute repo sync, I canot find
I also tried |
You should be able to create the makefile manually by running |
Eventually I see the generated Makefile. It's really strange. I can now pass compile after fix a path error. Thanks! |
The toolchain file ( |
Hi Vchong, It is fixed by moving out the foler from hikeyOptee/build/toolchains to hikeyOptee/toolchains. I manually set up my toolchains due to my net work is slow. In general, I guess there was something wrong happened during my first time repo creation, it caused makefile not generated automatically. After that, what ever how I redo the I am really appreciate for you and etiennec-linaro's help. |
I'm a bit surprised. We haven't changed anything related to this in a long time and I setup new builds several times a week and I haven't seen any issue. Not for HiKey, but I did it several times yesterday for QEMU-v8 and for the coming RPi3 port, no problems found. |
I feel It is a smart solution for creating makefile link dynamically at clone time. |
I've tried everything from scratch this morning:
Everything worked as it should, toolchain were downloaded and everything compiled. |
Let's close it and let's see if anyone else will met this issue. Thank you all for the impressive support. |
Are you using unofficial repo?I came across the same question long ago,it is solved now after I downloaded repo from the official site. |
Dear sir,
I am following "readme" of this page "https://github.com/OP-TEE/optee_os" to setup my hikey board, I simply cloned the repo and use the command "make all" as it said, and I get following error:
make -C /home/fpc/devel/optee/build/../linux LOCALVERSION= CROSS_COMPILE="/usr/bin/ccache " ARCH=arm make[1]: Entering directory
/home/fpc/devel/optee/linux'CHK include/config/kernel.release
CHK include/generated/uapi/linux/version.h
CHK include/generated/utsrelease.h
make[2]:
include/generated/mach-types.h' is up to date. CC kernel/bounds.s gcc: error: unrecognized argument in option ‘-mabi=aapcs-linux’ gcc: note: valid arguments to ‘-mabi=’ are: ms sysv gcc: error: unrecognized command line option ‘-mlittle-endian’ gcc: error: unrecognized command line option ‘-mno-thumb-interwork’ gcc: error: unrecognized command line option ‘-mfpu=vfp’ make[2]: *** [kernel/bounds.s] Error 1 make[1]: *** [prepare0] Error 2 make[1]: Leaving directory
/home/fpc/devel/optee/linux'make: *** [linux-common] Error 2`
The text was updated successfully, but these errors were encountered: