I have a build system working on Debian Virtual machine and can compile basic .c files for openwrt on my architecture.
I’m using this repository for this:
Now i want to add additional packages to my build system using this repository below, because i trying to compile a more extended .c program with extra libraries not in base openwrt included.
What is the quickest way to add those packages to my build system?
The "feeds" like that "packages repo that you referenced, get included by default with feeds.conf.default (or feeds.conf) to the main OpenWrt build system. Just update (and install) the feeds normally.
PS. The source code directories are located in feeds/packages/ etc. in case you want to modify some of the package Makefiels or so.
I have a repository with some add-on packages which I want in my own compiled build.
When compiling I have a build script which adds a number of patches and the patch below will add my own repository to feeds.conf.default
It’s a bit more involved. You will want to ensure your libopen62541 version at 1.4.14 takes precedence over the OpenWrt version that exists in openwrt/feeds/packages/libs for version 1.3.6.
Yes, and you should also change the SHA256 hash in PKG_HASH line, once you have tried the download.
As you are editing an already existing package, much easier than "custom feeds" would be to just modify the already existing local copy of the package Makefile.
Should be located in <buildroot>/feeds/packages/libs/libopen62541
Okay, i changed the version number in the Makefile of the libopen62541 package under /feeds/packages/libs/libopen62541. i commented out the hash because i have to calculate it using
make package/<path-to-your-package>/download
make package/<path-to-your-package>/check FIXUP=1
But the output of both of this commands is ‘No rule to make target’