summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndre McCurdy <armccurdy@gmail.com>2016-02-25 21:24:38 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-02-28 11:33:06 +0000
commit7651342ac11c0edd638e81e64067b03192b469de (patch)
tree1b897b2f786c1c5d2fa33215589c1f710e1f45af
parent6c8abead0f2d7a06adf6cc4c16047a86ab3ff73d (diff)
downloadpoky-7651342ac11c0edd638e81e64067b03192b469de.tar.gz
dosfstools_2.11: fix build following removal of -e from EXTRA_OEMAKE
Also misc formatting tweaks to align with v3.0.28 recipe and remove BBCLASSEXTEND = "native" (native builds should always use the GPLv3 recipe). (From OE-Core rev: 375c26ce229cd9dc90b5e7c4b8e6d52d832b606e) Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-devtools/dosfstools/dosfstools_2.11.bb16
1 files changed, 6 insertions, 10 deletions
diff --git a/meta/recipes-devtools/dosfstools/dosfstools_2.11.bb b/meta/recipes-devtools/dosfstools/dosfstools_2.11.bb
index beec488c09..176504d4f3 100644
--- a/meta/recipes-devtools/dosfstools/dosfstools_2.11.bb
+++ b/meta/recipes-devtools/dosfstools/dosfstools_2.11.bb
@@ -2,7 +2,7 @@
2# Copyright (C) 2004-2006, Advanced Micro Devices, Inc. All Rights Reserved 2# Copyright (C) 2004-2006, Advanced Micro Devices, Inc. All Rights Reserved
3# Released under the MIT license (see packages/COPYING) 3# Released under the MIT license (see packages/COPYING)
4SUMMARY = "DOS FAT Filesystem Utilities" 4SUMMARY = "DOS FAT Filesystem Utilities"
5HOMEPAGE = "http://daniel-baumann.ch/software/dosfstools/" 5HOMEPAGE = "https://github.com/dosfstools/dosfstools"
6 6
7SECTION = "base" 7SECTION = "base"
8LICENSE = "GPLv2" 8LICENSE = "GPLv2"
@@ -18,21 +18,17 @@ SRC_URI = "http://pkgs.fedoraproject.org/repo/pkgs/${BPN}/${BP}.src.tar.gz/407d4
18 file://include-linux-types.patch \ 18 file://include-linux-types.patch \
19 file://nofat32_autoselect.patch \ 19 file://nofat32_autoselect.patch \
20 file://fix_populated_dosfs_creation.patch \ 20 file://fix_populated_dosfs_creation.patch \
21 file://0001-Include-fcntl.h-for-getting-loff_t-definition.patch \ 21 file://0001-Include-fcntl.h-for-getting-loff_t-definition.patch \
22 " 22"
23 23
24SRC_URI[md5sum] = "407d405ade410f7597d364ab5dc8c9f6" 24SRC_URI[md5sum] = "407d405ade410f7597d364ab5dc8c9f6"
25SRC_URI[sha256sum] = "0eac6d12388b3d9ed78684529c1b0d9346fa2abbe406c4d4a3eb5a023c98a484" 25SRC_URI[sha256sum] = "0eac6d12388b3d9ed78684529c1b0d9346fa2abbe406c4d4a3eb5a023c98a484"
26 26
27# Makefile sets this, but we clobber its CFLAGS, so 27CFLAGS += "-D_GNU_SOURCE ${@bb.utils.contains('DISTRO_FEATURES', 'largefile', '-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64', '', d)}"
28# add this in here to for sure allow for big files. 28
29# 29EXTRA_OEMAKE = "CC='${CC}' CFLAGS='${CFLAGS}' LDFLAGS='${LDFLAGS}'"
30CFLAGS_append = " -D_FILE_OFFSET_BITS=64"
31CFLAGS_append_libc-musl = " -D_GNU_SOURCE"
32 30
33do_install () { 31do_install () {
34 oe_runmake "PREFIX=${D}" "SBINDIR=${D}${base_sbindir}" \ 32 oe_runmake "PREFIX=${D}" "SBINDIR=${D}${base_sbindir}" \
35 "MANDIR=${D}${mandir}/man8" install 33 "MANDIR=${D}${mandir}/man8" install
36} 34}
37
38BBCLASSEXTEND = "native"