SPECS: kernel-misc-usb-rndis-lite.spec - debug mode
Przemyslaw Iskra
sparky at pld-linux.org
Fri Jan 26 13:34:09 CET 2007
On Fri, Jan 26, 2007 at 01:12:26PM +0100, glen wrote:
> Author: glen Date: Fri Jan 26 12:12:26 2007 GMT
> Module: SPECS Tag: HEAD
> ---- Log message:
> - debug mode
> +%if 0%{?debug:1}
> +%{__sed} -i -e 's,^.*\(#define.*\(DEBUG\|VERBOSE\)\),\1,' cdc_ether.c
> +%endif
using EXTRA_CFLAGS would be better solution, try:
%build_kernel_modules -m cdc_ether,rndis_host,usbnet \
EXTRA_CFLAGS="%{?debug:-DDEBUG=1 -DVERBOSE=1}"
--
____ Sparky{PI] -- Przemyslaw _ ___ _ _ ........... LANG...Pl..Ca..Es..En
/____) ___ ___ _ _ || Iskra | | _ \| | | : WWW........ppcrcd.pld-linux.org
\____\| -_)'___| ||^'||//\\// < | _/| | | : JID......sparky<at>jabberes.org
(____/|| (_-_|_|| ||\\ || |_ |_| |_| _| : Mail....sparky<at>pld-linux.org
More information about the pld-devel-en
mailing list