diff options
Diffstat (limited to 'recipes-devtools/elfutils/elfutils_0.148.bb')
-rw-r--r-- | recipes-devtools/elfutils/elfutils_0.148.bb | 9 |
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 |
45 | SRC_URI_append_libc-musl = " file://musl-support-for-elfutils-0.148.patch" | 45 | SRC_URI_append_libc-musl = " file://musl-support-for-elfutils-0.148.patch" |
46 | 46 | ||
47 | # Only apply when building uclibc based target recipe | ||
48 | SRC_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 | ||
72 | EXTRA_OECONF = "--program-prefix=eu- --without-lzma" | 69 | EXTRA_OECONF = "--program-prefix=eu- --without-lzma" |
73 | EXTRA_OECONF_append_class-native = " --without-bzlib" | 70 | EXTRA_OECONF_append_class-native = " --without-bzlib" |
74 | EXTRA_OECONF_append_libc-uclibc = " --enable-uclibc" | ||
75 | 71 | ||
76 | do_configure_prepend() { | 72 | do_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 | ||
86 | EXTRA_OEMAKE_libc-musl = "-C libelf" | 82 | EXTRA_OEMAKE_libc-musl = "-C libelf" |
87 | EXTRA_OEMAKE_libc-uclibc = "-C libelf" | ||
88 | EXTRA_OEMAKE_class-native = "" | 83 | EXTRA_OEMAKE_class-native = "" |
89 | EXTRA_OEMAKE_class-nativesdk = "" | 84 | EXTRA_OEMAKE_class-nativesdk = "" |
90 | 85 | ||