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, 2 insertions, 7 deletions
diff --git a/recipes-devtools/elfutils/elfutils_0.148.bb b/recipes-devtools/elfutils/elfutils_0.148.bb
index 654a715..3c0f9f0 100644
--- a/recipes-devtools/elfutils/elfutils_0.148.bb
+++ b/recipes-devtools/elfutils/elfutils_0.148.bb
@@ -44,9 +44,6 @@ SRC_URI += "\
44# Only apply when building musl based target recipe 44# Only apply when building musl based target recipe
45SRC_URI_append_libc-musl = " file://musl-support-for-elfutils-0.148.patch" 45SRC_URI_append_libc-musl = " file://musl-support-for-elfutils-0.148.patch"
46 46
47# Only apply when building uclibc based target recipe
48SRC_URI_append_libc-uclibc = " file://uclibc-support-for-elfutils-0.148.patch"
49
50# The buildsystem wants to generate 2 .h files from source using a binary it just built, 47# The buildsystem wants to generate 2 .h files from source using a binary it just built,
51# which can not pass the cross compiling, so let's work around it by adding 2 .h files 48# which can not pass the cross compiling, so let's work around it by adding 2 .h files
52# along with the do_configure_prepend() 49# along with the do_configure_prepend()
@@ -71,7 +68,6 @@ CFLAGS += "-Wno-error=stringop-overflow="
71 68
72EXTRA_OECONF = "--program-prefix=eu- --without-lzma" 69EXTRA_OECONF = "--program-prefix=eu- --without-lzma"
73EXTRA_OECONF_append_class-native = " --without-bzlib" 70EXTRA_OECONF_append_class-native = " --without-bzlib"
74EXTRA_OECONF_append_libc-uclibc = " --enable-uclibc"
75 71
76do_configure_prepend() { 72do_configure_prepend() {
77 sed -i '/^i386_dis.h:/,+4 {/.*/d}' ${S}/libcpu/Makefile.am 73 sed -i '/^i386_dis.h:/,+4 {/.*/d}' ${S}/libcpu/Makefile.am
@@ -79,12 +75,11 @@ do_configure_prepend() {
79 cp ${WORKDIR}/*dis.h ${S}/libcpu 75 cp ${WORKDIR}/*dis.h ${S}/libcpu
80} 76}
81 77
82# we can not build complete elfutils when using uclibc or musl 78# we can not build complete elfutils when using musl
83# but some recipes e.g. gcc 4.5 depends on libelf so we 79# but some recipes e.g. gcc 4.5 depends on libelf so we
84# build only libelf for uclibc and musl cases 80# build only libelf for musl cases
85 81
86EXTRA_OEMAKE_libc-musl = "-C libelf" 82EXTRA_OEMAKE_libc-musl = "-C libelf"
87EXTRA_OEMAKE_libc-uclibc = "-C libelf"
88EXTRA_OEMAKE_class-native = "" 83EXTRA_OEMAKE_class-native = ""
89EXTRA_OEMAKE_class-nativesdk = "" 84EXTRA_OEMAKE_class-nativesdk = ""
90 85