| |
|
Wednesday, April 21, 2004
|
|
Building OpenDarwin is a pretty difficult chore. One of the obstacles
is the reliance on xcodebuild and other Apple-proprietary tools. These
are usually only available on darwin-ppc without any darwin-x86
analogue.
The AppleGMACEthernet project was broken in the darwin 7.2 release. The
tarball made available by Apple wouldn't compile cleanly out of the
box, but the recent 7.3 release tarball did. I backported a couple of
lines from the header file that caused the older release to choke and
got a clean compile.
Using this as my test-bed, I adapted the makefile environment from the
tulip driver. It took about 15 minutes to get a clean compile by typing
'make' at the command line. I had to create an AppleGMACEthernet_info.c
file that acts as the glue between IOKit and the kernel. Likewise, I
had to copy in some of the bundle resources such as the Info.plist and
InfoStrings.plist files. I put them in the base directory with the
source files and "taught" the makefile how to build the whole mess into
a kext. Works okay and looks pretty clean too.
I need to make a few more minor changes to get this to compile using the OpenDarwin CoreOS Makefile environment and RPMs.
After that, I'll tackle a few of the other broken projects. This puts
us a bit closer to getting a genuine OpenDarwin 7.2.1 release out the
door. And not a moment too soon... the rumor mills tell us OS X 10.3.4
(darwin 7.4) is being seeded. Yikes!
9:40:14 PM
|
|
|
© Copyright 2004 Chuck Remes.
Last update: 10/2/04; 11:48:11 AM.
|
|
| April 2004 |
| Sun |
Mon |
Tue |
Wed |
Thu |
Fri |
Sat |
| |
|
|
|
1 |
2 |
3 |
| 4 |
5 |
6 |
7 |
8 |
9 |
10 |
| 11 |
12 |
13 |
14 |
15 |
16 |
17 |
| 18 |
19 |
20 |
21 |
22 |
23 |
24 |
| 25 |
26 |
27 |
28 |
29 |
30 |
|
| Mar May |
|
|