forked from freemint/freemint
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
57 lines (44 loc) · 1.01 KB
/
Makefile
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
47
48
49
50
51
52
53
54
55
56
57
#
# Makefile for freemint
#
SHELL = /bin/sh
SUBDIRS = shared sys xaaes tools
srcdir = .
top_srcdir = .
subdir =
default: all
include $(top_srcdir)/CONFIGVARS
include $(top_srcdir)/RULES
include $(top_srcdir)/PHONY
all-here:
# default overwrites
# default definitions
# kernel targets (repeated here from sys/KERNELDEFS)
kerneltargets = 000 020 030 040 060 080 deb mil ara hat hat030
ifeq ($(COLDFIRE),yes)
kerneltargets += col
endif
000 020 030 040 060 080 deb mil col ara hat hat030 sockets xdd xfs usb all-kernels::
$(MAKE) -C sys $@
000 020 030 040 060 080 deb mil col ara hat hat030 all-kernels::
$(MAKE) -C xaaes $@
all-recursive::
$(MAKE) -C doc
clean::
$(MAKE) -C doc $@
help:
@echo '#'
@echo '# targets:'
@echo '# --------'
@echo '# - all'
@echo '# - sockets / xdd / xfs / usb'
@echo '# - all-kernels'
@echo '# - $(kerneltargets)'
@echo '#'
@echo '# - bakclean'
@echo '# - clean'
@echo '# - distclean'
@echo '# - help'
@echo '#'
@echo '# example for a Milan kernel: -> make mil'
@echo '#'