FOR TIPS, gUIDES & TUTORIALS

subscribe to our Youtube

GO TO YOUTUBE

14455 questions

17168 answers

28195 comments

0 members

We are migrating to our new platform at https://community.teltonika.lt. Moving forward, you can continue discussions on this new platform. This current platform will be temporarily maintained for reference purposes.
0 votes
290 views 0 comments
by anonymous
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 anonymous

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.