lkml.org 
[lkml]   [2012]   [Feb]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH] scripts/Kbuild.include: Fix portability problem of "echo -e"

    On 26.02.12 18:35, Bernhard Walle wrote:
    > "echo -e" is a GNU extension. When cross-compiling the kernel on a
    > BSD-like operating system (Mac OS X in my case), this doesn't work.
    >
    > One could install a GNU version of echo, put that in the $PATH before
    > the system echo and use "/usr/bin/env echo", but the solution with
    > printf is simpler.
    >
    > Since it is no disadvantage on Linux, I hope that gets accepted even if
    > cross-compiling the Linux kernel on another Unix operating system is
    > quite a rare use case.
    >
    > Signed-off-by: Bernhard Walle <bernhard@bwalle.de>

    Tested-by: Andreas Bießmann <andreas@biessmann.de>

    Without that patch cross-compiling kernel for omap2 devices on BSD-style
    hosts is broken.
    For x86 targets the impact is not that hard but CFI is omitted even
    though it is supported by assembler (in one case this led to a devious
    error message pointing to a assembler bug in my cross toolchain).

    So please consider applying this patch.
    --
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2012-02-29 00:39    [W:0.022 / U:60.424 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site