diff options
Diffstat (limited to 'meta/recipes-devtools')
-rw-r--r-- | meta/recipes-devtools/cmake/cmake_3.7.2.bb | 2 | ||||
-rw-r--r-- | meta/recipes-devtools/dosfstools/dosfstools_4.1.bb | 2 | ||||
-rw-r--r-- | meta/recipes-devtools/pax-utils/pax-utils_1.2.2.bb | 7 | ||||
-rw-r--r-- | meta/recipes-devtools/perl/perl_5.24.1.bb | 13 |
4 files changed, 6 insertions, 18 deletions
diff --git a/meta/recipes-devtools/cmake/cmake_3.7.2.bb b/meta/recipes-devtools/cmake/cmake_3.7.2.bb index 787f33c02b..f566a48cfb 100644 --- a/meta/recipes-devtools/cmake/cmake_3.7.2.bb +++ b/meta/recipes-devtools/cmake/cmake_3.7.2.bb | |||
@@ -30,7 +30,7 @@ EXTRA_OECMAKE=" \ | |||
30 | -DCMAKE_USE_SYSTEM_LIBRARY_LIBUV=0 \ | 30 | -DCMAKE_USE_SYSTEM_LIBRARY_LIBUV=0 \ |
31 | -DKWSYS_CHAR_IS_SIGNED=1 \ | 31 | -DKWSYS_CHAR_IS_SIGNED=1 \ |
32 | -DBUILD_CursesDialog=0 \ | 32 | -DBUILD_CursesDialog=0 \ |
33 | ${@bb.utils.contains('DISTRO_FEATURES', 'largefile', '-DKWSYS_LFS_WORKS=1', '-DKWSYS_LFS_DISABLE=1', d)} \ | 33 | -DKWSYS_LFS_WORKS=1 \ |
34 | " | 34 | " |
35 | 35 | ||
36 | do_install_append_class-nativesdk() { | 36 | do_install_append_class-nativesdk() { |
diff --git a/meta/recipes-devtools/dosfstools/dosfstools_4.1.bb b/meta/recipes-devtools/dosfstools/dosfstools_4.1.bb index 458cf877da..69aa81af44 100644 --- a/meta/recipes-devtools/dosfstools/dosfstools_4.1.bb +++ b/meta/recipes-devtools/dosfstools/dosfstools_4.1.bb | |||
@@ -20,6 +20,6 @@ inherit autotools pkgconfig | |||
20 | 20 | ||
21 | EXTRA_OECONF = "--without-udev --enable-compat-symlinks" | 21 | EXTRA_OECONF = "--without-udev --enable-compat-symlinks" |
22 | 22 | ||
23 | CFLAGS += "-D_GNU_SOURCE ${@bb.utils.contains('DISTRO_FEATURES', 'largefile', '-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64', '', d)}" | 23 | CFLAGS += "-D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64" |
24 | 24 | ||
25 | BBCLASSEXTEND = "native" | 25 | BBCLASSEXTEND = "native" |
diff --git a/meta/recipes-devtools/pax-utils/pax-utils_1.2.2.bb b/meta/recipes-devtools/pax-utils/pax-utils_1.2.2.bb index dabb4db382..476fa6f074 100644 --- a/meta/recipes-devtools/pax-utils/pax-utils_1.2.2.bb +++ b/meta/recipes-devtools/pax-utils/pax-utils_1.2.2.bb | |||
@@ -29,9 +29,10 @@ BBCLASSEXTEND = "native" | |||
29 | 29 | ||
30 | inherit autotools pkgconfig | 30 | inherit autotools pkgconfig |
31 | 31 | ||
32 | PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'largefile', d)} \ | 32 | PACKAGECONFIG ??= "" |
33 | " | 33 | |
34 | PACKAGECONFIG[libcap] = "--with-caps, --without-caps, libcap" | 34 | PACKAGECONFIG[libcap] = "--with-caps, --without-caps, libcap" |
35 | PACKAGECONFIG[libseccomp] = "--with-seccomp, --without-seccomp, libseccomp" | 35 | PACKAGECONFIG[libseccomp] = "--with-seccomp, --without-seccomp, libseccomp" |
36 | PACKAGECONFIG[largefile] = "--enable-largefile,--disable-largefile,," | ||
37 | PACKAGECONFIG[pyelftools] = "--with-python, --without-python,, pyelftools" | 36 | PACKAGECONFIG[pyelftools] = "--with-python, --without-python,, pyelftools" |
37 | |||
38 | EXTRA_OECONF += "--enable-largefile" | ||
diff --git a/meta/recipes-devtools/perl/perl_5.24.1.bb b/meta/recipes-devtools/perl/perl_5.24.1.bb index 147e151d74..cf7a8e1218 100644 --- a/meta/recipes-devtools/perl/perl_5.24.1.bb +++ b/meta/recipes-devtools/perl/perl_5.24.1.bb | |||
@@ -99,17 +99,6 @@ LDFLAGS_append = " -fstack-protector" | |||
99 | # We're almost Debian, aren't we? | 99 | # We're almost Debian, aren't we? |
100 | CFLAGS += "-DDEBIAN" | 100 | CFLAGS += "-DDEBIAN" |
101 | 101 | ||
102 | do_nolargefile() { | ||
103 | sed -i -e "s,\(uselargefiles=\)'define',\1'undef',g" \ | ||
104 | -e "s,\(d_readdir64_r=\)'define',\1'undef',g" \ | ||
105 | -e "s,\(readdir64_r_proto=\)'\w+',\1'0',g" \ | ||
106 | -e "/ccflags_uselargefiles/d" \ | ||
107 | -e "s/-Duselargefiles//" \ | ||
108 | -e "s/-D_FILE_OFFSET_BITS=64//" \ | ||
109 | -e "s/-D_LARGEFILE_SOURCE//" \ | ||
110 | ${S}/Cross/config.sh-${TARGET_ARCH}-${TARGET_OS} | ||
111 | } | ||
112 | |||
113 | do_configure() { | 102 | do_configure() { |
114 | # Make hostperl in build directory be the native perl | 103 | # Make hostperl in build directory be the native perl |
115 | ln -sf ${HOSTPERL} hostperl | 104 | ln -sf ${HOSTPERL} hostperl |
@@ -182,8 +171,6 @@ do_configure() { | |||
182 | config.sh-${TARGET_ARCH}-${TARGET_OS} | 171 | config.sh-${TARGET_ARCH}-${TARGET_OS} |
183 | fi | 172 | fi |
184 | 173 | ||
185 | ${@bb.utils.contains('DISTRO_FEATURES', 'largefile', '', 'do_nolargefile', d)} | ||
186 | |||
187 | # Update some paths in the configuration | 174 | # Update some paths in the configuration |
188 | sed -i -e 's,@ARCH@-thread-multi,,g' \ | 175 | sed -i -e 's,@ARCH@-thread-multi,,g' \ |
189 | -e 's,@ARCH@,${TARGET_ARCH}-${TARGET_OS},g' \ | 176 | -e 's,@ARCH@,${TARGET_ARCH}-${TARGET_OS},g' \ |