From: ASA <llb@udm.ru>
To: Shrek <community@altlinux.ru>
Subject: Re[2]: [Comm] Перекомпиляция ядра
Date: Thu, 26 Jun 2003 22:47:03 +0500
Message-ID: <5510596727.20030626224703@udm.ru> (raw)
In-Reply-To: <3EFB09E5.8070607@progroup.ru>
Hello Shrek,
Thursday, June 26, 2003, 7:57:41 PM, you wrote:
>> Ну например можно в том каталоге, где лежит исходник этого модуля, сказать make
>> Он там потребует Rules.make
>> его из корня исходников можно взять
S> не выходит каменный цветок....
S> поставим вопрос по другому.
S> есть исходники модуля, но нет makefile, как этот модуль собрать?
Модуль стороннего производителя?
На тебе образец Makefile'а для одного файла module.c
(подставить путь к исходникам и имя модуля вместо module.o)
KERNELDIR = /usr/src/kernel-2.4.20/
include $(KERNELDIR)/.config
CFLAGS = -D__KERNEL__ -DMODULE -I$(KERNELDIR)/include -O2 -Wall
ifdef CONFIG_SMP
CFLAGS += -D__SMP__ -DSMP
endif
all: module.o
clean:
rm -f *.o *~ core
--
Best regards,
ASA mailto:llb@udm.ru
next prev parent reply other threads:[~2003-06-26 17:47 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-06-26 13:08 Shrek
2003-06-26 9:22 ` Maxim.Savrilov
2003-06-26 14:57 ` Shrek
2003-06-26 17:47 ` ASA [this message]
2003-06-27 9:56 ` Shrek
2003-06-27 14:21 ` Re[2]: " ASA
2003-06-27 18:39 ` ASA
2003-06-27 19:28 ` Shrek
2003-06-28 3:42 ` Re[2]: " ASA
2003-06-28 7:25 ` Shrek
2003-06-28 17:11 ` [Comm] ðÅÒÅËÏÍÐÉÌÑÃÉÑ ÑÄÒÁ Ed V. Bartosh
2003-06-28 18:39 ` [Comm] Перекомпиляция ядра Shrek
2003-06-28 17:36 ` Gleb Kulikov
2003-06-28 7:26 ` Shrek
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=5510596727.20030626224703@udm.ru \
--to=llb@udm.ru \
--cc=community@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 Community general discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/community/0 community/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 community community/ http://lore.altlinux.org/community \
mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
public-inbox-index community
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.community
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git