Re: [BUG] kbuild

From: Ustyugov Roman
Date: Tue Sep 20 2005 - 03:10:35 EST


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
-
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/