How to use it:
- Clone OpenWrt tree from https://git.openwrt.org/openwrt/openwrt.git (or use snapshot, etc.)
- Copy default feeds.conf:
cp feeds.conf.default feeds.conf - Add
src-git netxms https://github.com/netxms/openwrt-feed.gittofeeds.conf - Update and install default feeds:
./scripts/feeds update -a && ./scripts/feeds install -a make menuconfig, then:- Configure image (platform, desired libc, etc.)
- Select agent package in
Administration->NetXMS. Packages have three markings:<*>- package will be compiled and added to the firmware image<M>- package will be compiled but will not be added to the firmware image< >- package will not be compiled and will not be added to the firmware image
- Build toolchain, then package itself:
make tools/install -j$(nproc)make toolchain/install -j$(nproc)make package/netxms/compile -j$(nproc)
Packages will be in bin/packages/platform-name/netxms/
Alternatively you can build whole image with make -j$(nproc).
Image will be in bin/targets/platform-name/subtarget-name