# Makefile for ramdisk image
-PROGRAMS=at_wini bios_wini cdprobe dev2name floppy loadramdisk mount newroot \
- pci sh service sysenv mfs ext2
+PROGRAMS=ahci at_wini bios_wini cdprobe dev2name floppy loadramdisk mount \
+ newroot pci sh service sysenv mfs ext2
EXTRA=system.conf passwd rs.single
CPPFLAGS+= -I${MINIXSRCDIR}/servers -I${MINIXSRCDIR}
image: proto.gen mtab rc $(PROGRAMS) $(EXTRA)
mkfs.mfs image proto.gen || { rm -f image; false; }
+ahci: ../ahci/ahci
+ install -s ../$@/$@ $@
+
+../ahci/ahci:
+ $(MAKE) -C ../ahci
+
at_wini: ../at_wini/at_wini
install -s ../$@/$@ $@
then
echo Using bios_wini.
/bin/service -c up /sbin/bios_wini -dev /dev/c0d0
+elif [ X`/bin/sysenv ahci` = Xyes ]
+then
+ # this is here temporarily, for testing purposes
+ /bin/service -c up /sbin/ahci -dev /dev/c0d0 -label ahci_0 -args instance=0
else
/bin/service -c up /sbin/at_wini -dev /dev/c0d0 -label at_wini_0
/bin/service -cr up /sbin/at_wini -dev /dev/c1d0 -label at_wini_1 -args instance=1