diff options
author | Khem Raj <raj.khem@gmail.com> | 2021-05-26 21:47:54 -0700 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2021-05-28 06:55:33 -0700 |
commit | 827f51176517219b9d0f7f6783970edc9079a5a5 (patch) | |
tree | d6689e225d9b42ccb13feccfc14f9ea52a9db382 /meta-networking/recipes-connectivity | |
parent | ccc9d946e39a3d9841296662656df2c697f23689 (diff) | |
download | meta-openembedded-827f51176517219b9d0f7f6783970edc9079a5a5.tar.gz |
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>
Diffstat (limited to 'meta-networking/recipes-connectivity')
-rw-r--r-- | meta-networking/recipes-connectivity/dhcp/dhcp-relay_4.4.2.bb | 6 |
1 files changed, 6 insertions, 0 deletions
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 \ | |||
43 | do_configure_prepend () { | 43 | do_configure_prepend () { |
44 | cp configure.ac+lt configure.ac | 44 | cp configure.ac+lt configure.ac |
45 | } | 45 | } |
46 | do_compile_prepend() { | ||
47 | rm -rf ${S}/bind/bind-9.11.14/ | ||
48 | tar xf ${S}/bind/bind.tar.gz -C ${S}/bind | ||
49 | install -m 0755 ${STAGING_DATADIR_NATIVE}/gnu-config/config.guess ${S}/bind/bind-9.11.14/ | ||
50 | install -m 0755 ${STAGING_DATADIR_NATIVE}/gnu-config/config.sub ${S}/bind/bind-9.11.14/ | ||
51 | } | ||
46 | 52 | ||
47 | do_install_append () { | 53 | do_install_append () { |
48 | install -d ${D}${sysconfdir}/default | 54 | install -d ${D}${sysconfdir}/default |