Grzegorz Konopko wrote:
>>  BuildRequires: libtool
>> @@ -923,7 +923,7 @@
>>         --with-port=0x2f8 \
>>         --with-irq=3 \
>>         --without-soft-carrier \
>> -       --with-driver=serial
>> +       --with-driver=all
>>     
>
> A czy to nie powoduje kompilowanie wszystkich modułów jądra?
> Powinno być o ile sie nie myle --with-driver=userspace wedlug dokumentacji i 
> powinno grac. Tak zrobilem w lirc24.spec
> Sprawdz prosze czy sie buduje wszystko z tą opcją.
>
>   




----------------------------------------------------------------------
Poznaj Stefana! Zmien komunikator! >>> http://link.interia.pl/f1924
--- lirc.spec.orig      2006-04-08 19:10:20.000000000 +0200
+++ lirc.spec   2006-04-10 12:21:29.000000000 +0200
@@ -34,8 +34,9 @@
 Patch4:                %{name}-alpha.patch
 Patch5:                %{name}-i2c-2.8.x.patch
 Patch6:                %{name}-sparc.patch
+Patch7:                %{name}-remotes.patch
 URL:           http://www.lirc.org/
-%{?with_x:BuildRequires:       xorg-lib-libX11-devel}
+%{?with_x:BuildRequires:       X11-devel}
 BuildRequires: autoconf
 BuildRequires: automake
 BuildRequires: libtool
@@ -907,6 +908,7 @@
 fi
 %endif
 %patch6 -p1
+%patch7 -p1
 
 %build
 echo '#' > drivers/Makefile.am
@@ -923,7 +925,7 @@
        --with-port=0x2f8 \
        --with-irq=3 \
        --without-soft-carrier \
-       --with-driver=serial
+       --with-driver=userspace
 
 %{__make}
 
@@ -946,9 +948,7 @@
                ln -sf %{_kernelsrcdir}/include/linux/autoconf-$cfg.h 
include/linux/autoconf.h
                [ ! -L include/asm ] && ln -sf 
%{_kernelsrcdir}/include/asm-%{_target_base_arch} include/asm
                ln -sf %{_kernelsrcdir}/Module.symvers-$cfg Module.symvers
-               %if %{without dist_kernel}
-                       ln -sf %{_kernelsrcdir}/scripts
-               %endif
+               ln -sf %{_kernelsrcdir}/scripts
                touch include/config/MARKER
                %{__make} clean \
                        RCS_FIND_IGNORE="-name '*.ko' -o" \
_______________________________________________
pld-devel-pl mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-devel-pl

Odpowiedź listem elektroniczym