diff options
author | Khem Raj <raj.khem@gmail.com> | 2010-07-08 22:53:17 -0700 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2010-07-08 22:53:17 -0700 |
commit | 17da1f1387220ebc2321bdc46694062a0a224641 (patch) | |
tree | 9b3f3761be583a58d1eb909f102a364e96dccbc3 /recipes/dosfstools/dosfstools_2.11.bb | |
parent | 2a6e03c72e41c1b7d1725e0df657551038df51b7 (diff) |
dosfstools: Add recipe for 3.0.9 and fix large file support.
* Pass -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 if large file support
supported.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'recipes/dosfstools/dosfstools_2.11.bb')
-rw-r--r-- | recipes/dosfstools/dosfstools_2.11.bb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/recipes/dosfstools/dosfstools_2.11.bb b/recipes/dosfstools/dosfstools_2.11.bb index 211912a116..cecf98531e 100644 --- a/recipes/dosfstools/dosfstools_2.11.bb +++ b/recipes/dosfstools/dosfstools_2.11.bb @@ -8,12 +8,14 @@ SECTION = "base" PRIORITY = "optional" LICENSE = "GPLv2" -PR = "r0" +PR = "r1" SRC_URI = "ftp://ftp.uni-erlangen.de/pub/Linux/LOCAL/dosfstools/dosfstools-${PV}.src.tar.gz \ file://alignment_hack.patch \ file://msdos_fat12_undefined.patch \ file://include-linux-types.patch" +CLFAGS_append = ' -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64' +CFLAGS_append_libc-uclibc = ' ${@base_contains("DISTRO_FEATURES", "largefile", "-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64", "", d)}' do_install () { oe_runmake "PREFIX=${D}" "SBINDIR=${D}${sbindir}" \ |