mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-16 16:27:27 +00:00
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>
This commit is contained in:
@@ -26,6 +26,8 @@ SRC_URI[sha256sum] = "8cd6bc71ba46bd5f6eb4daf60220ccdcd991a8525111dee466501b1b97
|
|||||||
|
|
||||||
inherit autotools-brokensep update-rc.d systemd
|
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() {
|
do_install:append() {
|
||||||
install -d ${D}${systemd_unitdir}/system
|
install -d ${D}${systemd_unitdir}/system
|
||||||
install -m 0644 ${WORKDIR}/pppoe-server.service ${D}${systemd_unitdir}/system
|
install -m 0644 ${WORKDIR}/pppoe-server.service ${D}${systemd_unitdir}/system
|
||||||
|
|||||||
@@ -1,2 +0,0 @@
|
|||||||
# rp-pppoe
|
|
||||||
rpppoe_cv_pack_bitfields=${rpppoe_cv_pack_bitfields=normal}
|
|
||||||
@@ -1,2 +0,0 @@
|
|||||||
# rp-pppoe
|
|
||||||
rpppoe_cv_pack_bitfields=${rpppoe_cv_pack_bitfields=rev}
|
|
||||||
Reference in New Issue
Block a user