From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Thu, 14 Jul 2005 19:33:30 +0400 From: Sergey Vlasov To: shaba@altlinux.ru, devel-kernel@altlinux.ru, ALT Devel discussion list , Anton Farygin , taf@altlinux.ru Message-ID: <20050714153330.GC10423@master.mivlgu.local> Mail-Followup-To: shaba@altlinux.ru, devel-kernel@altlinux.ru, ALT Devel discussion list , Anton Farygin , taf@altlinux.ru References: <20050713122559.GA27495@master.mivlgu.local> <20050714130611.GA10423@master.mivlgu.local> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="4ZLFUWh1odzi/v6L" Content-Disposition: inline In-Reply-To: <20050714130611.GA10423@master.mivlgu.local> Cc: Subject: [devel] Re: [d-kernel] Re: ipw2x00 X-BeenThere: devel@altlinux.ru X-Mailman-Version: 2.1.5 Precedence: list Reply-To: ALT Devel discussion list List-Id: ALT Devel discussion list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Jul 2005 15:33:32 -0000 Archived-At: List-Archive: List-Post: --4ZLFUWh1odzi/v6L Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Jul 14, 2005 at 05:06:11PM +0400, Sergey Vlasov wrote: > =EB=C1=CB-=D4=CF =CE=D5=D6=CE=CF =D0=C5=D2=C5=C4=C1=D4=D8 =C9=CE=C6=CF=D2= =CD=C1=C3=C9=C0 =C4=CC=D1 modpost; =D7=CF=DA=CD=CF=D6=CE=CF, =D0=D2=C9=C4= =A3=D4=D3=D1 =D0=CF=CC=CF=D6=C9=D4=D8 > =D3=CF=C2=D2=C1=CE=CE=D9=C5 =C6=C1=CA=CC=D9 =CD=CF=C4=D5=CC=C5=CA =C5=DD= =A3 =C9 =D7 kernel-headers-ieee80211-%flavour, =C1 =D0=CF=D4=CF=CD > =CB=C1=CB-=D4=CF =C9=C8 =D0=CF=C4=D3=CF=D7=D9=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=D8 =D4=D5=C4=C1 =D0=CF=C4=C4=C5=D2=D6= =CB=D5 =C7=C5=CE=C5=D2=C1=C3=C9=C9 =C9 =C9=D3=D0=CF=CC=D8=DA=CF=D7=C1=CE=C9= =D1 =CE=C5=D3=CB=CF=CC=D8=CB=C9=C8 =C6=C1=CA=CC=CF=D7 =D4=C9=D0=C1 =C9=CD=C5=C0=DD=C5=C7=CF=D3=D1 =D3=C5=CA=DE=C1=D3 Module.symve= rs. --- modules/ieee80211/kernel-modules-ieee80211.spec.modpost 2005-07-14 15:2= 0:40 +0400 +++ modules/ieee80211/kernel-modules-ieee80211.spec 2005-07-14 18:33:02 +04= 00 @@ -63,6 +63,11 @@ modules which interface with these drive %install %__mkdir_p %buildroot/%module_dir %__cp -a *.ko %buildroot/%module_dir +%__mkdir_p %buildroot/%_prefix/src/linux-%kversion-%flavour/drivers/net/ie= ee80211 +for f in *.ko; do + mod=3D"${f%.ko}" + %__cp -a "$mod.o" %buildroot/%_prefix/src/linux-%kversion-%flavour/driver= s/net/ieee80211/ +done %__mkdir_p %buildroot/%_prefix/src/linux-%kversion-%flavour/include/net %__cp -a net/* %buildroot/%_prefix/src/linux-%kversion-%flavour/include/n= et/ echo "%name =3D %version-%release" \ @@ -81,6 +86,7 @@ echo "%name =3D %version-%release" \ %files -n kernel-headers-%module_name-%flavour %defattr(644,root,root,755) %_prefix/src/linux-%kversion-%flavour/include/net/* +%_prefix/src/linux-%kversion-%flavour/drivers/net/ieee80211 %_prefix/src/linux-%kversion-%flavour/kernel-modules-%module_name.release =20 %changelog --- modules/ipw2100/kernel-modules-ipw2100.spec.modpost 2005-07-14 15:26:32= +0400 +++ modules/ipw2100/kernel-modules-ipw2100.spec 2005-07-14 18:33:47 +0400 @@ -53,6 +53,16 @@ PRO/Wireless 2100 Network Connection min =20 %build . %_usrsrc/linux-%kversion-%flavour/gcc_version.inc + +%__mkdir .tmp_versions +%__mkdir ieee80211 +for f in %_usrsrc/linux-%kversion-%flavour/drivers/net/ieee80211/*.o; do + mod=3D"${f##*/}" + mod=3D"${mod%.o}" + echo "$(pwd)/ieee80211/$mod.ko" > .tmp_versions/"$mod".mod + %__cp -a "$f" ieee80211/ +done + %make_build -C %_usrsrc/linux-%kversion-%flavour SUBDIRS=3D$PWD \ LINUXSRC=3D%_usrsrc/linux-%kversion-%flavour/ \ IEEE80211_INC=3D%_usrsrc/linux-%kversion-%flavour/include --- modules/ipw2200/kernel-modules-ipw2200.spec.modpost 2005-07-14 15:25:09= +0400 +++ modules/ipw2200/kernel-modules-ipw2200.spec 2005-07-14 18:40:23 +0400 @@ -53,6 +53,16 @@ PRO/Wireless 2200 Network Connection min =20 %build . %_usrsrc/linux-%kversion-%flavour/gcc_version.inc + +%__mkdir .tmp_versions +%__mkdir ieee80211 +for f in %_usrsrc/linux-%kversion-%flavour/drivers/net/ieee80211/*.o; do + mod=3D"${f##*/}" + mod=3D"${mod%.o}" + echo "$(pwd)/ieee80211/$mod.ko" > .tmp_versions/"$mod".mod + %__cp -a "$f" ieee80211/ +done + %make_build -C %_usrsrc/linux-%kversion-%flavour SUBDIRS=3D$PWD \ LINUXSRC=3D%_usrsrc/linux-%kversion-%flavour/ \ IEEE80211_INC=3D%_usrsrc/linux-%kversion-%flavour/include --4ZLFUWh1odzi/v6L Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFC1oXKW82GfkQfsqIRAu31AJ9UJNdzgZsGZJ4CeUweHxXsCMu8gACggK36 FOdxCmjQVaeYLs8QIFdnwlI= =o/W4 -----END PGP SIGNATURE----- --4ZLFUWh1odzi/v6L--