Copy this makefile in the appropriate folder : This should be package//Makefile within your buildroot system.ģ. Understanding how to write this makefile is the key to building packages on OpenWRT.Ģ. The Makefile is listed and explained at the end of this post. Write the OpenWRT makefile : This is a special makefile which OpenWRT uses. These are the steps which were carried out :ġ. It contains the “normal” makefile within it. Something worth understanding here is that there are two makefiles which are referred here - the “normal” makefile which is part of your source code and a “special” makefile which is used by the package management system and the buildroot.Īs an example, this package was created for some C++ wrapper classes around C socket calls. An important part of it could be to create an OpenWRT package out of your own source code. If someone is into wireless / mesh network research OpenWRT is invaluable. One of the reasons why OpenWRT has become widely popular is that it has a package management system which allows the user to add packages as per the requirements. OpenWRT is a robust and flexible Linux distribution meant for wireless embedded devices.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |