On Fri, Jul 9, 2010 at 1:45 AM, Khem Raj <raj.k...@gmail.com> wrote: > On Thu, Jul 8, 2010 at 6:54 AM, Sergey Lapin <slapi...@gmail.com> wrote: >> -D_FILE_OFFSET_BITS=64, where it has gone? > > CFLAGS are overwritten, and the makefile is a bit non cross compilation > friendly > you can add this > > CFLAGS += "-D_FILE_OFFSET_BITS=64 > > to dosfstools_2.11.bb and then rebuild just this recipe. > > Does that help ? Yeah, this helps. Actually. the fast-baked patch I use locally: diff --git a/recipes/dosfstools/dosfstools_2.11.bb b/recipes/dosfstools/dosfstools_2.11.bb index 211912a..89522f5 100644 --- a/recipes/dosfstools/dosfstools_2.11.bb +++ b/recipes/dosfstools/dosfstools_2.11.bb @@ -8,15 +8,22 @@ 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" +do_compile () { + oe_runmake "PREFIX=${D}" "SBINDIR=${D}${sbindir}" \ + CFLAGS="${CFLAGS} -D_FILE_OFFSET_BITS=64" \ + "MANDIR=${D}${mandir}/man8" +} + do_install () { oe_runmake "PREFIX=${D}" "SBINDIR=${D}${sbindir}" \ + CFLAGS="${CFLAGS} -D_FILE_OFFSET_BITS=64" \ "MANDIR=${D}${mandir}/man8" install } But, probably, it is too many lines and I had no time to make proper one and commit :( _______________________________________________ Angstrom-distro-devel mailing list Angstrom-distro-devel@linuxtogo.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/angstrom-distro-devel