[lkml]   [2012]   [Feb]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    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 <>

    Tested-by: Andreas Bießmann <>

    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
    More majordomo info at
    Please read the FAQ at

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