From 827f51176517219b9d0f7f6783970edc9079a5a5 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Wed, 26 May 2021 21:47:54 -0700 Subject: 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 Cc: Yi Zhao --- meta-networking/recipes-connectivity/dhcp/dhcp-relay_4.4.2.bb | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'meta-networking/recipes-connectivity') diff --git a/meta-networking/recipes-connectivity/dhcp/dhcp-relay_4.4.2.bb b/meta-networking/recipes-connectivity/dhcp/dhcp-relay_4.4.2.bb index bd816106c..2af41b217 100644 --- a/meta-networking/recipes-connectivity/dhcp/dhcp-relay_4.4.2.bb +++ b/meta-networking/recipes-connectivity/dhcp/dhcp-relay_4.4.2.bb @@ -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 -- cgit v1.2.3-54-g00ecf