I want to compile odhcp6c package in VM (Linux Mint Debian Edition) for my router NBG7815. But the package's readme doesn't explain how to cross compile it.
** Compiling **
odhcp6c uses cmake:
* To prepare a Makefile use: "cmake ."
* To build / install use: "make" / "make install" afterwards.
* To build DEB or RPM packages use: "make package" afterwards.
I assume that odhcp6c executable created by this guide won't work on my router's SoC architecture. How can I cross compile it?
{
"kernel": "6.6.73",
"hostname": "router-sinan",
"system": "ARMv8 Processor rev 4",
"model": "Zyxel NBG7815",
"board_name": "zyxel,nbg7815",
"rootfs_type": "squashfs",
"release": {
"distribution": "OpenWrt",
"version": "NBG7815-24.10.0-NSS",
"revision": "r28427+144-6df0e3d02a-ff321885c3",
"target": "qualcommax/ipq807x",
"description": "OpenWrt NBG7815-24.10.0-NSS r28427+144-6df0e3d02a-ff321885c3",
"builddate": "1738624177"
}
}