]> git.lizzy.rs Git - plan9front.git/blobdiff - sys/src/9/pc/mkfile
pc kernel: split mpstartap() and squidboy into separate file... stuff for amd64
[plan9front.git] / sys / src / 9 / pc / mkfile
index f6814ac320a20abfecfe00a4feb2de9ed0cdb82f..f032b90d4d3441d60cb3d1fea2a990e64ffc967b 100644 (file)
@@ -1,6 +1,6 @@
-CONF=pc
-CONFLIST=pc pccpu pcf pccpuf
-CRAPLIST=pccd pcflop
+CONF=pcf
+CONFLIST=pcf pccpuf
+CRAPLIST=pc pccpu pccd pcflop
 EXTRACOPIES=
 #EXTRACOPIES=lookout boundary  # copy to these servers on install
 
@@ -24,7 +24,6 @@ PORT=\
        dev.$O\
        edf.$O\
        fault.$O\
-       latin1.$O\
        page.$O\
        parse.$O\
        pgrp.$O\
@@ -37,6 +36,7 @@ PORT=\
        rebootcmd.$O\
        segment.$O\
        swap.$O\
+       syscallfmt.$O\
        sysfile.$O\
        sysproc.$O\
        taslock.$O\
@@ -45,17 +45,14 @@ PORT=\
 
 OBJ=\
        l.$O\
-       plan9l.$O\
        cga.$O\
        i8253.$O\
        i8259.$O\
-       kbd.$O\
        main.$O\
        memory.$O\
        mmu.$O\
-       random.$O\
-       syscallfmt.$O\
        trap.$O\
+       pcrandom.$O\
        $CONF.root.$O\
        $CONF.rootc.$O\
        $DEVS\
@@ -69,8 +66,11 @@ LIB=\
        /$objtype/lib/libc.a\
        /$objtype/lib/libsec.a\
        /$objtype/lib/libmp.a\
+       /$objtype/lib/libfis.a\
+       /$objtype/lib/libaml.a\
 
 ETHER=`{echo devether.c ether*.c | sed 's/\.c/.'$O'/g'}
+AUDIO=`{echo devaudio.c audio*.c | sed 's/\.c/.'$O'/g'}
 VGA=`{echo devvga.c screen.c vga*.c | sed 's/\.c/.'$O'/g'}
 SDEV=`{echo devsd.c sd*.c | sed 's/\.c/.'$O'/g'}
 
@@ -79,9 +79,6 @@ $p$CONF:      $CONF.c $OBJ $LIB
        $LD -o $target -T$KTZERO -l $OBJ $CONF.$O $LIB
        size $target
 
-rootfs.bz2:
-       rc ../port/mkbootfs
-
 # don't strip the gzipped kernels -- too frustrating when that's all you have!
 $p%.gz:D:      $p%
        gzip -9 <$p$stem >$p$stem.gz
@@ -105,11 +102,15 @@ install:V:        $p$CONF
 <|../port/mkbootrules $CONF
 
 $ETHER:                        etherif.h ../port/netif.h
+$AUDIO:                                ../port/audioif.h
 ether8003.$O ether8390.$O:     ether8390.h
+etheryuk.$O:                   yukdump.h
 $VGA mouse.$O:                 screen.h /sys/include/memdraw.h
+vgavesa.$O:                    /386/include/ureg.h
 devfloppy.$O:                  floppy.h
 archmp.$O mp.$O:               apbootstrap.h
 apic.$O archmp.$O mp.$O:       mp.h
+squidboy.$O:                   mp.h
 $SDEV:                         ../port/sd.h
 sd53c8xx.$O:                   sd53c8xx.i
 sdiahci.$O:                    ahci.h
@@ -121,6 +122,9 @@ devusb.$O usbuhci.$O usbohci.$O usbehci.$O: ../port/usb.h
 trap.$O:                       /sys/include/tos.h
 uartaxp.$O:                    uartaxp.i
 etherm10g.$O:                  etherm10g2k.i etherm10g4k.i
+etheriwl.$O:                   wifi.h
+etherrt2860.$O:                wifi.h
+wifi.$O:                       wifi.h
 
 init.h:D:              ../port/initcode.c init9.c
        $CC ../port/initcode.c
@@ -190,13 +194,3 @@ checkdist:VQ:
 
 %.clean:V:
        rm -f $stem.c [9bz]$stem [9bz]$stem.gz boot$stem.* reboot.h apbootstrap.h init.h
-
-# testing
-9load:D: /usr/rsc/boot/$O.load 9pcload
-       cat $prereq >$target
-
-9load.flp: 9load
-       disk/format -b /386/pbs -df $target $prereq
-
-$p$CONF.flp: /386/9load plan9.ini $p$CONF.gz
-       disk/format -b /386/pbs -df $target $prereq