8904 questions

10557 answers

16569 comments

15946 members

0 votes
127 views 0 comments
by
Hey Guys, I have codes written in C and they are placed in a subfolder "Mycode" inside the" packages "folder in the SDK . I also have a makefile for the code. How would you compile the makefile in Linux to produce the ipk file ? At the end of the day i just want to upload the ipk file to the router. Any help is apppreciated. Thanks

1 Answer

0 votes
by

Hi,

Everything you've done already should be alright if your makefile is correct.

To compile you will need to use:

make package/yourpackage/compile

make package/yourpackage/install

More information could be found here: https://openwrt.org/docs/guide-developer/single.package

EB.