Closed ffontaine closed 3 years ago
LGTM, but I think there will be similar issues in other (optional) components. Other option is to make osasnmpd optional that depends on availability of net-snmp.
We are already managing most (all?) of the optional components of s390-tools on buildroot: https://git.buildroot.net/buildroot/tree/package/s390-tools/s390-tools.mk This patch is needed to fix cross-compilation when net-snmp is available. Indeed, when you're cross-compiling, net-snmp-config won't be found on the host. So buildroot will provide it (e.g. https://patchwork.ozlabs.org/project/buildroot/patch/20201128095108.1069483-1-fontaine.fabrice@gmail.com/)
LGTM.
Reviewed-by: Marc Hartmayer <mhartmay@linux.ibm.com>
Fix the following build failure by allowing the user to provide NET_SNMP_CONFIG:
Fixes:
Signed-off-by: Fabrice Fontaine fontaine.fabrice@gmail.com