Repository navigation
Expand file tree
/
Copy pathMakefile
More file actions
46 lines (43 loc) · 1.3 KB
/
Copy pathMakefile
File metadata and controls
46 lines (43 loc) · 1.3 KB
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# Makefile for all device drivers.
#
MAKE = exec make -$(MAK
592A
EFLAGS)
usage:
@echo "" >&2
@echo "Makefile for all device drivers." >&2
@echo "Usage:" >&2
@echo " make build # Compile all device drivers locally" >&2
@echo " make image # Compile drivers in boot image" >&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 ./tty && $(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) $@
cd ./rescue && $(MAKE) $@
cd ./dp8390 && $(MAKE) $@
cd ./sb16 && $(MAKE) $@
cd ./lance && $(MAKE) $@
cd ./pci && $(MAKE) $@
cd ./ti1225 && $(MAKE) $@
cd ./memory && $(MAKE) $@ # Must be last for ramdisk image
image:
cd ./libdriver && $(MAKE) build
cd ./tty && $(MAKE) build
cd ./at_wini && $(MAKE) build
cd ./floppy && $(MAKE) build
cd ./bios_wini && $(MAKE) build
cd ./log && $(MAKE) build
cd ./pci && $(MAKE) build
cd ./memory && $(MAKE) build # Must be last for ramdisk image