Re: [BUG] kbuild

From: Thayumanavar Sachithanantham
Date: Tue Sep 20 2005 - 03:51:54 EST


On 9/20/05, Ustyugov Roman <dr_unique@xxxxxx> wrote:
> Thayumanavar Sachithanantham wrote:
> > Let me know your results.Take care of the quotes while you change.
>
> make -C ../../../linux-2.6.11.4-21.8
> O=../linux-2.6.11.4-21.8-obj/i386/default /bin/sh: -c: line 0: syntax error
> near unexpected token `('
> /bin/sh: -c: line 0: `set -e;
> .....
>
> What symbol must be between
> -D'DUM(a)=\#a'
> and
> -D'KBUILD_MODNAME=DUM($(subst $(comma),_,$(subst -,_,$(modname))))')
>
> ?
>
> I tried a space, comma and no spaces, also with quotes and without any, but
> got an error above.
>
> Here is my line:
> modname_flags = $(if $(filter 1,$(words $(modname))),-D'DUM(a)=\#a'
> -D'KBUILD_MODNAME=DUM($(subst $(comma),_,$(subst -,_,$(modname))))')
>
> --
> RomanU
>

A space.
Let me know if you still get errors. Also there should be an extra
parantheses before the quote.

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