From: Mikhail Zabaluev <mhz@altlinux.org> To: devel-kernel@altlinux.ru Subject: [d-kernel] kernel spec patches: customizability & small cleanups Date: Thu, 14 Aug 2003 12:36:07 +0400 Message-ID: <20030814083607.GC8311@mhz.mikhail.zabaluev.name> (raw) [-- Attachment #1: Type: text/plain, Size: 435 bytes --] Доброго времени суток. Предлагаются маленькие патчи к ядерным spec'ам alsa и drm. Цель: сделать их более дружественными к сторонним сборщикам (напр. мне) и зачистить мелкие заусенцы. Я там проставил нужный лично мне набор модулей, но по смыслу, я думаю, все доступно. -- Stay tuned, MhZ JID: mhz@altlinux.org ___________ Chinese saying: "He who speak with forked tongue, not need chopsticks." [-- Attachment #2: alsa-std-up-mhz-spec.patch --] [-- Type: text/plain, Size: 1181 bytes --] --- 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 [-- Attachment #3: drm-std-up-mhz-spec.patch --] [-- Type: text/plain, Size: 589 bytes --] --- 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 \
next reply other threads:[~2003-08-14 8:36 UTC|newest] Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top 2003-08-14 8:36 Mikhail Zabaluev [this message] 2003-08-14 8:49 ` Michael Shigorin 2003-08-14 8:59 ` Dmitry V. Levin 2003-08-14 20:50 ` Mikhail Zabaluev
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20030814083607.GC8311@mhz.mikhail.zabaluev.name \ --to=mhz@altlinux.org \ --cc=devel-kernel@altlinux.ru \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
ALT Linux kernel packages development This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/devel-kernel/0 devel-kernel/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 devel-kernel devel-kernel/ http://lore.altlinux.org/devel-kernel \ devel-kernel@altlinux.org devel-kernel@altlinux.ru devel-kernel@altlinux.com public-inbox-index devel-kernel Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.devel-kernel AGPL code for this site: git clone https://public-inbox.org/public-inbox.git