74711a3b14
enforced. If a call is denied, this will be kprinted. Please report any such errors, so that I can adjust the mask before returning errors instead of warnings. Wrote CMOS driver. All CMOS code from FS has been removed. Currently the driver only supports get time calls. Set time is left out as an exercise for the book readers ... startup scripts were updated because the CMOS driver is needed early on. (IS got same treatment.) Don't forget to run MAKEDEV cmos in /dev/, otherwise the driver cannot be loaded.
30 lines
828 B
Makefile
30 lines
828 B
Makefile
# Makefile for all device drivers.
|
|
#
|
|
MAKE = exec make -$(MAKEFLAGS)
|
|
|
|
usage:
|
|
@echo "" >&2
|
|
@echo "Makefile for all device drivers." >&2
|
|
@echo "Usage:" >&2
|
|
@echo " make build # Compile all device drivers locally" >&2
|
|
@echo " make clean # Remove local compiler results" >&2
|
|
@echo " make install # Install drivers to /etc/drivers/" >&2
|
|
@echo " (requires root privileges)" >&2
|
|
@echo "" >&2
|
|
|
|
build: all
|
|
all install depend clean:
|
|
cd ./libdriver && $(MAKE) $@
|
|
cd ./libpci && $(MAKE) $@
|
|
cd ./tty && $(MAKE) $@
|
|
cd ./memory && $(MAKE) $@
|
|
cd ./at_wini && $(MAKE) $@
|
|
cd ./floppy && $(MAKE) $@
|
|
cd ./printer && $(MAKE) $@
|
|
cd ./rtl8139 && $(MAKE) $@
|
|
cd ./fxp && $(MAKE) $@
|
|
cd ./dpeth && $(MAKE) $@
|
|
cd ./log && $(MAKE) $@
|
|
cd ./bios_wini && $(MAKE) $@
|
|
cd ./cmos && $(MAKE) $@
|
|
cd ./random && $(MAKE) $@
|