-
Notifications
You must be signed in to change notification settings - Fork 31
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
Rework library connection logic #72
Comments
This is what is being done (with a little hack) with architectures under src/arch and deploy methods. During the bootstrap phase we generate tmp/arch.kcnf and /tmp/arch.mk and include those. |
This way is quietly good, I agree. But I think that there should be a way to add some external libraries which are specialized for some especial projects, and large enough, and at the same time keep Antares untouched for successfull updating. I mean that such libraries could be developed outside the Antares tree. |
The problem is, that huge projects, e.g. lwip, vusb require quite a LOT of hackery before they can be integrated with kconfig. That's the price. As for updating - git rebase -i does a pretty nice job here. |
@nekromant I came up with a better way than what I previously described - see example code Essentially, I have frankenstein as a submodule, then I simply re-patch or replace In fact with two small tweaks I'd likely not need to patch it to use it as a base O/S
Working for me very nicely at the moment, and it wont matter whether you move things around or into Antares |
For now, if I want to create a new external library compatible with Antares buildsystem, I need to add its "src" and "include" directories to src/ and include/ dirs of Antares, and also add some lines in Makefiles and kcnfs. The problem is about merging modified Makefiles and kcnfs with Antares updates.
There must be some more pretty solution for this. (How about auto-including Makefiles and kcnfs from custom library's directory? If it will be possible, we'll just need to symlink lib's directories to Antares tree and get happy)
The text was updated successfully, but these errors were encountered: