Closed garyservin closed 9 years ago
There is currently no support for this in gcc4mbed. You currently have to do this the way that you originally describe.
I will keep this issue open to consider for the next gcc4mbed release. It should be possible to do this in a fashion similar to how the mbed SDK libraries are built.
Thanks,
Adam
I have added USER_LIBS support with commit bd4695b2fae2bf96dbf71edb2aeb66de233b0859 in the working branch. I will close this issue once I have merged into master during the next release.
Wow! this is awesome! thanks! =D
Now merged into master.
Hi Adam,
I do have an issue with the USER_LIBS parameter in case a lib contains subfolders with relevant source files. I just exported the HTTPClient lib from the old mbed website, which uses source-subfolders. Is there a quick fix for this?
Thanks,
Daniel
Update: Nevermind. I found a configuration issue on my side.
Hi, I'm trying to add an external directory which contains some source files for a project, my project's folder structure is the following
The makefile has the following
If my_lib folder is inside each project folder I can compile it fine, but it weights about 5M so it's not practical to have it copied in each directory. I would like to have something like
Is there a simple way to do this in the makefiles?
Thanks in advance!