diff options
author | Joe Slater <jslater@windriver.com> | 2013-03-25 13:49:00 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-03-29 10:40:55 +0000 |
commit | 7698f261496c2f1cd7c86805836e11b36f5d9339 (patch) | |
tree | b0241f97592ea026c64f5f67aa2e65662f730fe4 | |
parent | c9643b000bb0e8aecc67a4bb2033082ae7fdb628 (diff) | |
download | poky-7698f261496c2f1cd7c86805836e11b36f5d9339.tar.gz |
dosfstools: really compile supporting large files
Makefile in the package tries to set _FILE_OFFSET_BITS=64,
but we clobber that with our CFLAGS, so we add it in
the recipe.
[CQID: 409915]
(From OE-Core rev: ac904b9e10ec9641686bc35dcf200b9b855899b1)
Signed-off-by: Joe Slater <jslater@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/recipes-devtools/dosfstools/dosfstools_2.11.bb | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/meta/recipes-devtools/dosfstools/dosfstools_2.11.bb b/meta/recipes-devtools/dosfstools/dosfstools_2.11.bb index eca54f1870..b7b85f059e 100644 --- a/meta/recipes-devtools/dosfstools/dosfstools_2.11.bb +++ b/meta/recipes-devtools/dosfstools/dosfstools_2.11.bb | |||
@@ -7,7 +7,7 @@ DESCRIPTION = "DOS FAT Filesystem Utilities" | |||
7 | SECTION = "base" | 7 | SECTION = "base" |
8 | LICENSE = "GPLv2" | 8 | LICENSE = "GPLv2" |
9 | LIC_FILES_CHKSUM = "file://mkdosfs/COPYING;md5=cbe67f08d6883bff587f615f0cc81aa8" | 9 | LIC_FILES_CHKSUM = "file://mkdosfs/COPYING;md5=cbe67f08d6883bff587f615f0cc81aa8" |
10 | PR = "r4" | 10 | PR = "r5" |
11 | 11 | ||
12 | SRC_URI = "ftp://ftp.uni-erlangen.de/pub/Linux/LOCAL/dosfstools/dosfstools-${PV}.src.tar.gz \ | 12 | SRC_URI = "ftp://ftp.uni-erlangen.de/pub/Linux/LOCAL/dosfstools/dosfstools-${PV}.src.tar.gz \ |
13 | file://mkdosfs-bootcode.patch \ | 13 | file://mkdosfs-bootcode.patch \ |
@@ -22,6 +22,11 @@ SRC_URI = "ftp://ftp.uni-erlangen.de/pub/Linux/LOCAL/dosfstools/dosfstools-${PV} | |||
22 | SRC_URI[md5sum] = "407d405ade410f7597d364ab5dc8c9f6" | 22 | SRC_URI[md5sum] = "407d405ade410f7597d364ab5dc8c9f6" |
23 | SRC_URI[sha256sum] = "0eac6d12388b3d9ed78684529c1b0d9346fa2abbe406c4d4a3eb5a023c98a484" | 23 | SRC_URI[sha256sum] = "0eac6d12388b3d9ed78684529c1b0d9346fa2abbe406c4d4a3eb5a023c98a484" |
24 | 24 | ||
25 | # Makefile sets this, but we clobber its CFLAGS, so | ||
26 | # add this in here to for sure allow for big files. | ||
27 | # | ||
28 | CFLAGS_append = " -D_FILE_OFFSET_BITS=64" | ||
29 | |||
25 | do_install () { | 30 | do_install () { |
26 | oe_runmake "PREFIX=${D}" "SBINDIR=${D}${sbindir}" \ | 31 | oe_runmake "PREFIX=${D}" "SBINDIR=${D}${sbindir}" \ |
27 | "MANDIR=${D}${mandir}/man8" install | 32 | "MANDIR=${D}${mandir}/man8" install |