Last change
on this file since 23 was 4, checked in by Mattia Monga, 14 years ago |
Importazione sorgenti libro
|
File size:
859 bytes
|
Line | |
---|
1 | # Makefile for all device drivers.
|
---|
2 | #
|
---|
3 | MAKE = exec make -$(MAKEFLAGS)
|
---|
4 |
|
---|
5 | usage:
|
---|
6 | @echo "" >&2
|
---|
7 | @echo "Makefile for all device drivers." >&2
|
---|
8 | @echo "Usage:" >&2
|
---|
9 | @echo " make build # Compile all device drivers locally" >&2
|
---|
10 | @echo " make image # Compile drivers in boot image" >&2
|
---|
11 | @echo " make clean # Remove local compiler results" >&2
|
---|
12 | @echo " make install # Install drivers to /etc/drivers/" >&2
|
---|
13 | @echo " (requires root privileges)" >&2
|
---|
14 | @echo "" >&2
|
---|
15 |
|
---|
16 | build: all
|
---|
17 | all install depend clean:
|
---|
18 | cd ./libdriver && $(MAKE) $@
|
---|
19 | cd ./libpci && $(MAKE) $@
|
---|
20 | cd ./tty && $(MAKE) $@
|
---|
21 | cd ./memory && $(MAKE) $@
|
---|
22 | cd ./at_wini && $(MAKE) $@
|
---|
23 | cd ./log && $(MAKE) $@
|
---|
24 |
|
---|
25 | image:
|
---|
26 | cd ./libdriver && $(MAKE) build
|
---|
27 | cd ./libpci && $(MAKE) build
|
---|
28 | cd ./tty && $(MAKE) build
|
---|
29 | cd ./memory && $(MAKE) build
|
---|
30 | cd ./at_wini && $(MAKE) build
|
---|
31 | cd ./log && $(MAKE) build
|
---|
Note:
See
TracBrowser
for help on using the repository browser.