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

How to link exist static lib to ta? #601

Closed
WangYanjiong opened this Issue Dec 24, 2015 · 6 comments

Comments

Projects
None yet
6 participants
@WangYanjiong

WangYanjiong commented Dec 24, 2015

Hi,

How to link exist static lib to ta?

Thanks a lot.
BR.

@pascal-brand38

This comment has been minimized.

Show comment
Hide comment
@pascal-brand38

pascal-brand38 Dec 24, 2015

Contributor

Hello,

Please add something like the following in the Makefile of your TA:

include $(TA_DEV_KIT_DIR)/mk/ta_dev_kit.mk
ldargs-$(binary).elf += <mylib>
Contributor

pascal-brand38 commented Dec 24, 2015

Hello,

Please add something like the following in the Makefile of your TA:

include $(TA_DEV_KIT_DIR)/mk/ta_dev_kit.mk
ldargs-$(binary).elf += <mylib>
@WangYanjiong

This comment has been minimized.

Show comment
Hide comment
@WangYanjiong

WangYanjiong Dec 27, 2015

Thanks Pascal.

Is it ok to use LDADD += or LDFLAGS += ? These seem better since we can control whether the lib linked after or before objs.

WangYanjiong commented Dec 27, 2015

Thanks Pascal.

Is it ok to use LDADD += or LDFLAGS += ? These seem better since we can control whether the lib linked after or before objs.

@jenswi-linaro

This comment has been minimized.

Show comment
Hide comment
@jenswi-linaro

jenswi-linaro Jan 3, 2016

Contributor

LDADD is what I would have used, you normally want to list the libraries after the object files.

Regards,
Jens

Contributor

jenswi-linaro commented Jan 3, 2016

LDADD is what I would have used, you normally want to list the libraries after the object files.

Regards,
Jens

@jbech-optee-adm

This comment has been minimized.

Show comment
Hide comment
@jbech-optee-adm

jbech-optee-adm Jan 27, 2016

Question has been answered and therefore I'm closing this issue. Feel free to re-open if you have further questions on the same topic.

jbech-optee-adm commented Jan 27, 2016

Question has been answered and therefore I'm closing this issue. Feel free to re-open if you have further questions on the same topic.

@ryankumar

This comment has been minimized.

Show comment
Hide comment
@ryankumar

ryankumar Jul 23, 2018

how can i creat a generic api for trusted application and interface with tzcode????

ryankumar commented Jul 23, 2018

how can i creat a generic api for trusted application and interface with tzcode????

@jbech-linaro

This comment has been minimized.

Show comment
Hide comment
@jbech-linaro

jbech-linaro Aug 20, 2018

Contributor

@ryankumar , to answer your question, there is already a generic API for the TA's. That is what GlobalPlatform has defined in the GP TEE Internal Core API that you can find at globalplatform.org. In the future, please avoid taking a random issue when asking questions. Either ask in an existing issue related to your question or please open a new issue.

Contributor

jbech-linaro commented Aug 20, 2018

@ryankumar , to answer your question, there is already a generic API for the TA's. That is what GlobalPlatform has defined in the GP TEE Internal Core API that you can find at globalplatform.org. In the future, please avoid taking a random issue when asking questions. Either ask in an existing issue related to your question or please open a new issue.

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