ALT Linux kernel packages development
 help / color / mirror / Atom feed
From: Sergey Vlasov <vsu@altlinux.ru>
To: ALT Linux kernel packages development <devel-kernel@altlinux.ru>
Subject: Re: [d-kernel] Q: разноплатформенные конфиги для kernel-image
Date: Sat, 16 Apr 2005 22:36:20 +0400
Message-ID: <20050416183620.GG30505@procyon.home> (raw)
In-Reply-To: <20050416173444.GF16229@lrn.ru>

[-- Attachment #1: Type: text/plain, Size: 1483 bytes --]

On Sat, Apr 16, 2005 at 09:34:44PM +0400, Anton D. Kachalov wrote:
> On Sat, Apr 16, 2005 at 09:07:28PM +0400, Sergey Vlasov wrote:
> > Тут смешаны в одну кучу архитектура и оптимизация.  В принципе можно
> > собрать и 32-разрядное ядро с оптимизацией под Athlon-64 (CONFIG_MK8).
> > Да и у x86_64 сейчас есть CONFIG_MK8 (-march=k8) и CONFIG_MPSC
> > (-march=nocona).
> в случае с 32bit под athlon64 можно так и назвать: config.k8

На самом деле можно просто договориться, что в это место мы пишем
%arch из набора, поддерживаемого rpm.  Там ещё не наплодили вариантов
для x86_64, как для x86?

> > Ну в принципе можно попытаться и подкорректировать тип процессора в
> > конфиге.  Надо строить какую-то таблицу (%arch) -> (%base_arch,
> > CONFIG_Mxxx).  Правда, в разных версиях ядер набор доступных
> > CONFIG_Mxxx может быть разным, но можно писать туда несколько
> > вариантов.
> 
> <кусь>
> 
> чё-то я не понял - предлагается просто заменять одну переменную в конфиге?

Не совсем одну переменную, но по сути да.  make oldconfig исправит
зависимости (там по выбору процессора определяется куча разных
параметров).

> > (2.6.x only; ещё дописать подбор поддерживаемого ядром значения из
> > заданного набора).

В разных версиях ядер набор поддерживаемых CONFIG_Mxxx разный - можно
написать список значений, чтобы старые ядра собирались с новым
kernel-build-tools (если этот список пойдёт туда, а не будет
дублироваться по всем kernel-image-*.spec).

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

  reply	other threads:[~2005-04-16 18:36 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-04-16 15:13 Anton D. Kachalov
2005-04-16 16:19 ` Boldin Pavel
2005-04-16 16:29   ` Anton D. Kachalov
2005-04-16 17:25     ` Boldin Pavel
2005-04-16 17:36       ` Anton D. Kachalov
2005-04-16 17:43         ` Boldin Pavel
2005-04-16 17:07 ` Sergey Vlasov
2005-04-16 17:34   ` Anton D. Kachalov
2005-04-16 18:36     ` Sergey Vlasov [this message]
2005-04-16 18:56       ` Anton D. Kachalov
2005-04-16 19:20         ` Sergey Vlasov
2005-04-17  6:11           ` Boldin Pavel
2005-04-16 19:14       ` Boldin Pavel

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=20050416183620.GG30505@procyon.home \
    --to=vsu@altlinux.ru \
    --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