Re: [BUG] kbuild

Thayumanavar Sachithanantham
2005-09-20T08:51:36Z

On 9/20/05, Ustyugov Roman <dr_unique@ymg.ru> 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.