dhcp-relay: Use recent config.guess and config.sub for bind

vendored version of bind is quite old which does not have all newer
architecture info like riscv in gnu-config files captured in the bind
tarball, therefore update these files before configuring bundled bind

Fixes build on rv32/rv64

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Yi Zhao <yi.zhao@windriver.com>
This commit is contained in:
Khem Raj
2021-05-26 21:47:54 -07:00
parent ccc9d946e3
commit 827f511765
@@ -43,6 +43,12 @@ EXTRA_OECONF = "--enable-paranoia \
do_configure_prepend () {
cp configure.ac+lt configure.ac
}
do_compile_prepend() {
rm -rf ${S}/bind/bind-9.11.14/
tar xf ${S}/bind/bind.tar.gz -C ${S}/bind
install -m 0755 ${STAGING_DATADIR_NATIVE}/gnu-config/config.guess ${S}/bind/bind-9.11.14/
install -m 0755 ${STAGING_DATADIR_NATIVE}/gnu-config/config.sub ${S}/bind/bind-9.11.14/
}
do_install_append () {
install -d ${D}${sysconfdir}/default