summaryrefslogtreecommitdiffstats
path: root/recipes-devtools/elfutils/elfutils_0.148.bb
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-devtools/elfutils/elfutils_0.148.bb')
-rw-r--r--recipes-devtools/elfutils/elfutils_0.148.bb9
1 files changed, 7 insertions, 2 deletions
diff --git a/recipes-devtools/elfutils/elfutils_0.148.bb b/recipes-devtools/elfutils/elfutils_0.148.bb
index 892a523..a03b74e 100644
--- a/recipes-devtools/elfutils/elfutils_0.148.bb
+++ b/recipes-devtools/elfutils/elfutils_0.148.bb
@@ -40,6 +40,10 @@ SRC_URI += "\
40 file://0001-Make-it-compile-with-GCC-7.patch \ 40 file://0001-Make-it-compile-with-GCC-7.patch \
41 file://0002-Make-it-build-with-GCC-7-and-compile-time-hardening-.patch \ 41 file://0002-Make-it-build-with-GCC-7-and-compile-time-hardening-.patch \
42" 42"
43
44# Only apply when building musl based target recipe
45SRC_URI_append_libc-musl = " file://musl-support-for-elfutils-0.148.patch"
46
43# Only apply when building uclibc based target recipe 47# Only apply when building uclibc based target recipe
44SRC_URI_append_libc-uclibc = " file://uclibc-support-for-elfutils-0.148.patch" 48SRC_URI_append_libc-uclibc = " file://uclibc-support-for-elfutils-0.148.patch"
45 49
@@ -63,10 +67,11 @@ do_configure_prepend() {
63 cp ${WORKDIR}/*dis.h ${S}/libcpu 67 cp ${WORKDIR}/*dis.h ${S}/libcpu
64} 68}
65 69
66# we can not build complete elfutils when using uclibc 70# we can not build complete elfutils when using uclibc or musl
67# but some recipes e.g. gcc 4.5 depends on libelf so we 71# but some recipes e.g. gcc 4.5 depends on libelf so we
68# build only libelf for uclibc case 72# build only libelf for uclibc and musl cases
69 73
74EXTRA_OEMAKE_libc-musl = "-C libelf"
70EXTRA_OEMAKE_libc-uclibc = "-C libelf" 75EXTRA_OEMAKE_libc-uclibc = "-C libelf"
71EXTRA_OEMAKE_class-native = "" 76EXTRA_OEMAKE_class-native = ""
72EXTRA_OEMAKE_class-nativesdk = "" 77EXTRA_OEMAKE_class-nativesdk = ""