summaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-protocols/rp-pppoe
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2021-09-21 09:54:14 -0700
committerKhem Raj <raj.khem@gmail.com>2021-09-24 08:12:35 -0700
commit75e51ea46634f47f1de412bfd7bc876a84e05287 (patch)
tree485de76f64b699fcebad0507fa6794bc67db32c5 /meta-networking/recipes-protocols/rp-pppoe
parent50446bbd91c935a153ebff7dd9bd37b2ae66d1f7 (diff)
downloadmeta-openembedded-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/rp-pppoe')
-rw-r--r--meta-networking/recipes-protocols/rp-pppoe/rp-pppoe_3.13.bb2
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 344aa33de..363eeeb56 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
26 26
27inherit autotools-brokensep update-rc.d systemd 27inherit autotools-brokensep update-rc.d systemd
28 28
29CACHED_CONFIGUREVARS += "${@oe.utils.conditional('SITEINFO_ENDIANNESS', 'be', 'rpppoe_cv_pack_bitfields=normal', 'rpppoe_cv_pack_bitfields=rev', d)}"
30
29do_install:append() { 31do_install:append() {
30 install -d ${D}${systemd_unitdir}/system 32 install -d ${D}${systemd_unitdir}/system
31 install -m 0644 ${WORKDIR}/pppoe-server.service ${D}${systemd_unitdir}/system 33 install -m 0644 ${WORKDIR}/pppoe-server.service ${D}${systemd_unitdir}/system