summaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-daemons/ippool/ippool_1.3.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta-networking/recipes-daemons/ippool/ippool_1.3.bb')
-rw-r--r--meta-networking/recipes-daemons/ippool/ippool_1.3.bb14
1 files changed, 7 insertions, 7 deletions
diff --git a/meta-networking/recipes-daemons/ippool/ippool_1.3.bb b/meta-networking/recipes-daemons/ippool/ippool_1.3.bb
index 3554e688ab..19fbd0fa24 100644
--- a/meta-networking/recipes-daemons/ippool/ippool_1.3.bb
+++ b/meta-networking/recipes-daemons/ippool/ippool_1.3.bb
@@ -36,7 +36,7 @@ SRC_URI[sha256sum] = "d3eab7d6cad5da8ccc9d1e31d5303e27a39622c07bdb8fa3618eea3144
36inherit systemd 36inherit systemd
37 37
38DEPENDS = "readline ppp ncurses gzip-native rpcsvc-proto-native libtirpc" 38DEPENDS = "readline ppp ncurses gzip-native rpcsvc-proto-native libtirpc"
39RDEPENDS_${PN} = "rpcbind" 39RDEPENDS:${PN} = "rpcbind"
40 40
41EXTRA_OEMAKE = "CC='${CC}' AS='${AS}' LD='${LD}' AR='${AR}' NM='${NM}' STRIP='${STRIP}'" 41EXTRA_OEMAKE = "CC='${CC}' AS='${AS}' LD='${LD}' AR='${AR}' NM='${NM}' STRIP='${STRIP}'"
42EXTRA_OEMAKE += "PPPD_VERSION=${PPPD_VERSION} SYS_LIBDIR=${libdir}" 42EXTRA_OEMAKE += "PPPD_VERSION=${PPPD_VERSION} SYS_LIBDIR=${libdir}"
@@ -45,11 +45,11 @@ EXTRA_OEMAKE += "IPPOOL_TEST=y"
45 45
46CPPFLAGS += "${SELECTED_OPTIMIZATION} -I${STAGING_INCDIR}/tirpc" 46CPPFLAGS += "${SELECTED_OPTIMIZATION} -I${STAGING_INCDIR}/tirpc"
47 47
48SYSTEMD_SERVICE_${PN} = "ippool.service" 48SYSTEMD_SERVICE:${PN} = "ippool.service"
49SYSTEMD_AUTO_ENABLE = "disable" 49SYSTEMD_AUTO_ENABLE = "disable"
50 50
51 51
52do_compile_prepend() { 52do_compile:prepend() {
53 # fix the CFLAGS= and CPPFLAGS= in main Makefile, to have the extra CFLAGS in env 53 # fix the CFLAGS= and CPPFLAGS= in main Makefile, to have the extra CFLAGS in env
54 sed -i -e "s/^CFLAGS=/CFLAGS+=/" ${S}/Makefile 54 sed -i -e "s/^CFLAGS=/CFLAGS+=/" ${S}/Makefile
55 sed -i -e "s/^CPPFLAGS=/CPPFLAGS+=/" ${S}/Makefile 55 sed -i -e "s/^CPPFLAGS=/CPPFLAGS+=/" ${S}/Makefile
@@ -79,12 +79,12 @@ do_install() {
79 79
80PACKAGES =+ "${PN}-test" 80PACKAGES =+ "${PN}-test"
81 81
82FILES_${PN} += "${libdir}/pppd/${PPPD_VERSION}/ippool.so" 82FILES:${PN} += "${libdir}/pppd/${PPPD_VERSION}/ippool.so"
83FILES_${PN}-dbg += "${libdir}/pppd/${PPPD_VERSION}/.debug/ippool.so" 83FILES:${PN}-dbg += "${libdir}/pppd/${PPPD_VERSION}/.debug/ippool.so"
84FILES_${PN}-test = "/opt/${BPN}" 84FILES:${PN}-test = "/opt/${BPN}"
85 85
86# needs tcl to run tests 86# needs tcl to run tests
87RDEPENDS_${PN}-test += "tcl ${BPN}" 87RDEPENDS:${PN}-test += "tcl ${BPN}"
88 88
89PPPD_VERSION="${@get_ppp_version(d)}" 89PPPD_VERSION="${@get_ppp_version(d)}"
90 90