From: Larry Reaves <larry@moonshinecomputers.com>
To: Robbert Haarman <lkml@inglorion.net>
Cc: kernel mailing list <linux-kernel@vger.kernel.org>
Subject: Re: Linux 2.6 Build System and Binary Modules
Date: Sun, 29 Feb 2004 14:20:01 -0500 [thread overview]
Message-ID: <1078082400.3942.21.camel@tux.moonshinecomputers.org> (raw)
In-Reply-To: <20040229183143.GA8057@shire.sytes.net>
I am trying to do exactly the same thing... unfortunately I have not had
much success getting it to work. I have, however, solved your problem.
What I did was 'touch -B 9999999 priv_part.c' which creates an empty
file with a timestamp of the current time minus 9999999 seconds.
Because make will only recompile if the source is newer than the .o, it
will assume it is already compiled and it will just link it in. I am
new to kernel development, so I haven't made much progress beyond
getting the module to compile without errors. If you are able to get it
to work, please let me know.
On Sun, 2004-02-29 at 13:31, Robbert Haarman wrote:
> Hello list,
>
> Excuse me for not finding this if it has been asked before. Please Cc any answers, as I am not subscribed to this list.
>
> I am trying to port a driver for the Realtek 8180 wireless ehternet controller from 2.4 to 2.6. The module comes as a binary-only object file with some sources that can be adapted to fit the specific kernel. My problem is that I can't figure out how to get the 2.6 kernel to include the binary part (it's in a .o file). The new build system does a little too much magic - compiling the module from source to .ko without giving me a chance to sneak in the binary code. How do I get it to link in the .o file, without making it look for the like-named .c file?
>
> Cheers,
>
> Robbert Haarman
>
> ---
> "UNIX was not designed to stop you from doing stupid things, because that
> would also stop you from doing clever things."
> --Doug Gwyn
--
Larry Reaves <larry@moonshinecomputers.com>
next prev parent reply other threads:[~2004-02-29 19:20 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-02-29 18:31 Robbert Haarman
2004-02-29 18:42 ` Grzegorz Kulewski
2004-02-29 19:20 ` Robbert Haarman
2004-02-29 19:38 ` Larry Reaves
2004-02-29 19:20 ` Larry Reaves [this message]
2004-02-29 19:32 ` Sam Ravnborg
2004-03-01 18:01 ` Progress on RTL8180 Driver for Linux 2.6 Robbert Haarman
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=1078082400.3942.21.camel@tux.moonshinecomputers.org \
--to=larry@moonshinecomputers.com \
--cc=linux-kernel@vger.kernel.org \
--cc=lkml@inglorion.net \
/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
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®