diff options
author | Khem Raj <raj.khem@gmail.com> | 2021-09-21 09:54:14 -0700 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2021-09-24 08:12:35 -0700 |
commit | 75e51ea46634f47f1de412bfd7bc876a84e05287 (patch) | |
tree | 485de76f64b699fcebad0507fa6794bc67db32c5 /meta-networking/recipes-protocols | |
parent | 50446bbd91c935a153ebff7dd9bd37b2ae66d1f7 (diff) | |
download | meta-openembedded-contrib-75e51ea46634f47f1de412bfd7bc876a84e05287.tar.gz |
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 <raj.khem@gmail.com>
Diffstat (limited to 'meta-networking/recipes-protocols')
-rw-r--r-- | meta-networking/recipes-protocols/rp-pppoe/rp-pppoe_3.13.bb | 2 |
1 files changed, 2 insertions, 0 deletions
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 |