ALT Linux kernel packages development
 help / color / mirror / Atom feed
* [d-kernel] ÉÄÅÏÌÏÇÉÞÅÓËÉ ×ÅÒÎÁÑ ÓÂÏÒËÁ ÍÏÄÕÌÅÊ
@ 2004-03-16 14:09 Andrey Khavryuchenko
  2004-03-16 14:33 ` Denis Ovsienko
                   ` (2 more replies)
  0 siblings, 3 replies; 16+ messages in thread
From: Andrey Khavryuchenko @ 2004-03-16 14:09 UTC (permalink / raw)
  To: devel-kernel

Hi!

Подскажите, как у нас сейчас правильно собирать модули для ядра в отдельных
пакетах?

Вводная: 
Есть железяка Zyxel Prestige 630-11, которая поддерживается на
альфа-уровне соответствующим проектом на sf.net.  В его Makefile есть
следующее:

    ifeq ($(PATCHLEVEL), 4)
    	obj-y := $(xdslusb-module-objs) $(xdslusb-crc).o
    	obj-m	:= $(XDSLUSB-MODULE).o
    	O_TARGET := $(XDSLUSB-MODULE).o
    	include $(TOPDIR)/Rules.make
    else
    	obj-m := $(XDSLUSB-MODULE).o
    	$(XDSLUSB-MODULE)-objs := $(xdslusb-module-objs)
    endif

И отсылка на документацию:

    For kernel 2.6:
    http://lwn.net/Articles/21823/

    For kernel 2.2 and 2.4:

    If you have a local makefile with which you wish to build your module 
    not linked under the kernel tree in the proper way, you still can
    "ride" on the master Makefile.

    This way one can eliminate the dependency on your particular 
    machine kernel compilation options to be hardwired in the local Makefile.
    I.e., once you reconfigure the kernel, your driver will compile
    itself when you do a local "make" with the correct set of the new flags.

[...]

Задача: собрать и опакетить этот модуль в существующем виде.

Вопрос: как сейчас осуществляется сборка модулей _вне_ пакета с ядром?

Буду благодарен покажут соответствующий пакет, который можно попользовать в
качестве отправной точки.

-- 
Andrey V Khavryuchenko            http://www.kds.com.ua/
Silver Bullet Software Solutions  http://www.kds.com.ua/training/


^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2004-03-19 13:09 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-03-16 14:09 [d-kernel] ÉÄÅÏÌÏÇÉÞÅÓËÉ ×ÅÒÎÁÑ ÓÂÏÒËÁ ÍÏÄÕÌÅÊ Andrey Khavryuchenko
2004-03-16 14:33 ` Denis Ovsienko
2004-03-16 15:17   ` [d-kernel] Re: IDEOLOGI^ESKI WERNAQ SBORKA MODULEJ Andrey Khavryuchenko
2004-03-16 15:41     ` Denis Ovsienko
2004-03-16 15:52       ` Andrey Khavryuchenko
2004-03-16 16:22 ` [d-kernel] ????????????? ?????? ?????? ??????? Sergey Vlasov
2004-03-16 16:31   ` [d-kernel] " Andrey Khavryuchenko
2004-03-16 17:24   ` Andrey Khavryuchenko
2004-03-16 17:39     ` Sergey Vlasov
2004-03-16 18:44       ` Andrey Khavryuchenko
2004-03-18  8:29 ` [d-kernel] ÉÄÅÏÌÏÇÉÞÅÓËÉ ×ÅÒÎÁÑ ÓÂÏÒËÁ ÍÏÄÕÌÅÊ Vitaly Lipatov
2004-03-18 11:03   ` [d-kernel] Re: IDEOLOGI^ESKI WERNAQ SBORKA MODULEJ Andrey Khavryuchenko
2004-03-18 15:15   ` Andrey Khavryuchenko
2004-03-19  9:25     ` Vitaly Lipatov
2004-03-19 10:40       ` Andrey Khavryuchenko
2004-03-19 13:09       ` Andrey Khavryuchenko

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