From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Thu, 14 Aug 2003 12:36:07 +0400 From: Mikhail Zabaluev To: devel-kernel@altlinux.ru Message-ID: <20030814083607.GC8311@mhz.mikhail.zabaluev.name> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="mxv5cy4qt+RJ9ypb" Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.4.1i Subject: [d-kernel] kernel spec patches: customizability & small cleanups X-BeenThere: devel-kernel@altlinux.ru X-Mailman-Version: 2.1.2 Precedence: list Reply-To: ALT Linux kernel packages development List-Id: ALT Linux kernel packages development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Aug 2003 08:36:08 -0000 Archived-At: List-Archive: List-Post: --mxv5cy4qt+RJ9ypb Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: 8bit Доброго времени суток. Предлагаются маленькие патчи к ядерным spec'ам alsa и drm. Цель: сделать их более дружественными к сторонним сборщикам (напр. мне) и зачистить мелкие заусенцы. Я там проставил нужный лично мне набор модулей, но по смыслу, я думаю, все доступно. -- Stay tuned, MhZ JID: mhz@altlinux.org ___________ Chinese saying: "He who speak with forked tongue, not need chopsticks." --mxv5cy4qt+RJ9ypb Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="alsa-std-up-mhz-spec.patch" --- alsa-std-up.spec 2003-08-07 19:37:15 +0400 +++ alsa-mhz-up.spec 2003-08-12 04:26:22 +0400 @@ -17,6 +17,9 @@ %define kcc "%kgcc" %endif +#define alsa_cards all +%define alsa_cards ice1712,intel8x0 + %define module_dir /lib/modules/%kversion-%flavour-%krelease/misc Summary: The Advanced Linux Sound Architecture modules @@ -67,8 +70,10 @@ %setup -D -T -n kernel-source-%module_name-%module_version %build -CC=%kcc ./configure --with-kernel=/usr/include/linux-%kversion-%flavour/ \ - --with-isapnp=yes --with-sequencer=yes \ +CC=%kcc ./configure --with-kernel=/usr/include/linux-%kversion-%flavour \ + --with-isapnp=no \ + --with-sequencer=yes \ + --with-cards=%alsa_cards \ --with-moddir=%module_dir %make_build CC=%kcc @@ -81,11 +86,11 @@ IGROUP=`id -g` IUSER=`id -u` %post -/sbin/depmod -a -F /boot/System.map-%kversion-%flavour-%krelease alt9 +/sbin/depmod -a -F /boot/System.map-%kversion-%flavour-%krelease %kversion-%flavour-%krelease %postun -/sbin/depmod -a -F /boot/System.map-%kversion-%flavour-%krelease alt9 +/sbin/depmod -a -F /boot/System.map-%kversion-%flavour-%krelease %kversion-%flavour-%krelease %files --mxv5cy4qt+RJ9ypb Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="drm-std-up-mhz-spec.patch" --- drm-std-up.spec 2003-08-07 19:37:16 +0400 +++ drm-mhz-up.spec 2003-08-14 11:28:06 +0400 @@ -14,6 +14,9 @@ %define kcc "%kgcc" %endif +#define drm_modules tdfx.o sis.o r128.o radeon.o mga.o i810.o i830.o +%define drm_modules radeon.o + %define module_dir /lib/modules/%{kversion}-%{flavour}-%{krelease}/kernel/drivers/char/drm @@ -73,7 +76,7 @@ %build %make_build -f Makefile.linux TREE=/usr/include/linux-%{kversion}-%{flavour}/include \ - MACHINE=i386 CC=%kcc tdfx.o sis.o r128.o radeon.o mga.o i810.o i830.o + MACHINE=i386 CC=%kcc %drm_modules %install mkdir -p \ --mxv5cy4qt+RJ9ypb--