From 75e51ea46634f47f1de412bfd7bc876a84e05287 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Tue, 21 Sep 2021 09:54:14 -0700 Subject: rp-pppoe: Add configure cached variable via recipe These site files are only there for single recipe, move the data to recipe and use SITEINFO_ENDIANNESS to choose right option and pass it to configure Signed-off-by: Khem Raj --- meta-networking/recipes-protocols/rp-pppoe/rp-pppoe_3.13.bb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'meta-networking/recipes-protocols') diff --git a/meta-networking/recipes-protocols/rp-pppoe/rp-pppoe_3.13.bb b/meta-networking/recipes-protocols/rp-pppoe/rp-pppoe_3.13.bb index 344aa33dec..363eeeb56e 100644 --- a/meta-networking/recipes-protocols/rp-pppoe/rp-pppoe_3.13.bb +++ b/meta-networking/recipes-protocols/rp-pppoe/rp-pppoe_3.13.bb @@ -26,6 +26,8 @@ SRC_URI[sha256sum] = "8cd6bc71ba46bd5f6eb4daf60220ccdcd991a8525111dee466501b1b97 inherit autotools-brokensep update-rc.d systemd +CACHED_CONFIGUREVARS += "${@oe.utils.conditional('SITEINFO_ENDIANNESS', 'be', 'rpppoe_cv_pack_bitfields=normal', 'rpppoe_cv_pack_bitfields=rev', d)}" + do_install:append() { install -d ${D}${systemd_unitdir}/system install -m 0644 ${WORKDIR}/pppoe-server.service ${D}${systemd_unitdir}/system -- cgit v1.2.3-54-g00ecf