diff options
| author | Khem Raj <raj.khem@gmail.com> | 2018-05-09 12:00:00 -0700 |
|---|---|---|
| committer | Armin Kuster <akuster808@gmail.com> | 2018-05-17 08:32:26 -0700 |
| commit | 76ef5ac176e8156fb3b25e9ca2ce1870bbcc7cfa (patch) | |
| tree | c0b5733628484d2cf66cf6ff8b1301f6cad1cdc3 /meta-networking/recipes-protocols/openl2tp/openl2tp_1.8.bb | |
| parent | 309963b2f1966be69f02311daa86a0d4b5ac52da (diff) | |
| download | meta-openembedded-76ef5ac176e8156fb3b25e9ca2ce1870bbcc7cfa.tar.gz | |
openl2tp: Fix build without glibc's rpc/nsl support
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Diffstat (limited to 'meta-networking/recipes-protocols/openl2tp/openl2tp_1.8.bb')
| -rw-r--r-- | meta-networking/recipes-protocols/openl2tp/openl2tp_1.8.bb | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/meta-networking/recipes-protocols/openl2tp/openl2tp_1.8.bb b/meta-networking/recipes-protocols/openl2tp/openl2tp_1.8.bb index 1f6b4ded32..e51a101a0d 100644 --- a/meta-networking/recipes-protocols/openl2tp/openl2tp_1.8.bb +++ b/meta-networking/recipes-protocols/openl2tp/openl2tp_1.8.bb | |||
| @@ -16,7 +16,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=e9d9259cbbf00945adc25a470c1d3585 \ | |||
| 16 | file://usl/LICENSE;md5=9c1387a3c5213aa40671438af3e00793 \ | 16 | file://usl/LICENSE;md5=9c1387a3c5213aa40671438af3e00793 \ |
| 17 | " | 17 | " |
| 18 | 18 | ||
| 19 | DEPENDS = "popt flex readline" | 19 | DEPENDS = "popt flex readline rpcsvc-proto-native" |
| 20 | 20 | ||
| 21 | SRC_URI = "ftp://ftp.openl2tp.org/releases/${BP}/${BP}.tar.gz \ | 21 | SRC_URI = "ftp://ftp.openl2tp.org/releases/${BP}/${BP}.tar.gz \ |
| 22 | file://Makefile-modify-CFLAGS-to-aviod-build-error.patch \ | 22 | file://Makefile-modify-CFLAGS-to-aviod-build-error.patch \ |
| @@ -34,12 +34,7 @@ SRC_URI = "ftp://ftp.openl2tp.org/releases/${BP}/${BP}.tar.gz \ | |||
| 34 | file://openl2tpd-enable-tests.patch \ | 34 | file://openl2tpd-enable-tests.patch \ |
| 35 | file://run-ptest \ | 35 | file://run-ptest \ |
| 36 | file://fix_linux_4.15_compile.patch \ | 36 | file://fix_linux_4.15_compile.patch \ |
| 37 | " | ||
| 38 | |||
| 39 | SRC_URI_append_libc-musl = "\ | ||
| 40 | file://0004-Adjust-for-linux-kernel-headers-assumptions-on-glibc.patch \ | ||
| 41 | file://0002-user-ipv6-structures.patch \ | 37 | file://0002-user-ipv6-structures.patch \ |
| 42 | file://0001-l2tp_api.c-include-rpc-clnt.h-for-resultproc_t.patch \ | ||
| 43 | " | 38 | " |
| 44 | SRC_URI[md5sum] = "e3d08dedfb9e6a9a1e24f6766f6dadd0" | 39 | SRC_URI[md5sum] = "e3d08dedfb9e6a9a1e24f6766f6dadd0" |
| 45 | SRC_URI[sha256sum] = "1c97704d4b963a87fbc0e741668d4530933991515ae9ab0dffd11b5444f4860f" | 40 | SRC_URI[sha256sum] = "1c97704d4b963a87fbc0e741668d4530933991515ae9ab0dffd11b5444f4860f" |
| @@ -49,10 +44,10 @@ inherit autotools-brokensep pkgconfig systemd ptest | |||
| 49 | SYSTEMD_SERVICE_${PN} = "openl2tpd.service" | 44 | SYSTEMD_SERVICE_${PN} = "openl2tpd.service" |
| 50 | SYSTEMD_AUTO_ENABLE = "disable" | 45 | SYSTEMD_AUTO_ENABLE = "disable" |
| 51 | 46 | ||
| 52 | DEPENDS_append_libc-musl = " libtirpc" | 47 | DEPENDS += "libtirpc" |
| 53 | CPPFLAGS_append_libc-musl = " -I${STAGING_INCDIR}/tirpc" | 48 | CPPFLAGS += "-I${STAGING_INCDIR}/tirpc" |
| 54 | CFLAGS_append_libc-musl = " -I${STAGING_INCDIR}/tirpc" | 49 | CFLAGS += "-I${STAGING_INCDIR}/tirpc" |
| 55 | LDFLAGS_append_libc-musl = " -ltirpc" | 50 | LDFLAGS += "-ltirpc" |
| 56 | 51 | ||
| 57 | PARALLEL_MAKE = "" | 52 | PARALLEL_MAKE = "" |
| 58 | EXTRA_OEMAKE = 'CFLAGS="${CFLAGS} -Wno-unused-but-set-variable" CPPFLAGS="${CPPFLAGS}" OPT_CFLAGS="${CFLAGS}"' | 53 | EXTRA_OEMAKE = 'CFLAGS="${CFLAGS} -Wno-unused-but-set-variable" CPPFLAGS="${CPPFLAGS}" OPT_CFLAGS="${CFLAGS}"' |
