FreeCalypso > hg > fc-am-toolkit
annotate Makefile @ 12:fe5f7ba7f154
c139-analyze-boot utility put together, compiles
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sat, 10 Jun 2023 04:58:26 +0000 |
parents | 2a62a7decd9f |
children | f232fb350e1c |
rev | line source |
---|---|
11
2a62a7decd9f
top Makefile: compilation happening in bootmatch
Mychaela Falconia <falcon@freecalypso.org>
parents:
1
diff
changeset
|
1 CC= gcc |
2a62a7decd9f
top Makefile: compilation happening in bootmatch
Mychaela Falconia <falcon@freecalypso.org>
parents:
1
diff
changeset
|
2 CFLAGS= -O2 |
2a62a7decd9f
top Makefile: compilation happening in bootmatch
Mychaela Falconia <falcon@freecalypso.org>
parents:
1
diff
changeset
|
3 SUBDIR= bootmatch |
2a62a7decd9f
top Makefile: compilation happening in bootmatch
Mychaela Falconia <falcon@freecalypso.org>
parents:
1
diff
changeset
|
4 |
0
faf27dbe1a63
scripts for initializing aftermarket FFS on Pirelli DP-L10
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
5 INSTALL_PREFIX= /opt/freecalypso |
faf27dbe1a63
scripts for initializing aftermarket FFS on Pirelli DP-L10
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
6 |
11
2a62a7decd9f
top Makefile: compilation happening in bootmatch
Mychaela Falconia <falcon@freecalypso.org>
parents:
1
diff
changeset
|
7 all: ${SUBDIR} |
2a62a7decd9f
top Makefile: compilation happening in bootmatch
Mychaela Falconia <falcon@freecalypso.org>
parents:
1
diff
changeset
|
8 |
2a62a7decd9f
top Makefile: compilation happening in bootmatch
Mychaela Falconia <falcon@freecalypso.org>
parents:
1
diff
changeset
|
9 ${SUBDIR}: FRC |
2a62a7decd9f
top Makefile: compilation happening in bootmatch
Mychaela Falconia <falcon@freecalypso.org>
parents:
1
diff
changeset
|
10 cd $@; ${MAKE} ${MFLAGS} CC=${CC} CFLAGS="${CFLAGS}" |
0
faf27dbe1a63
scripts for initializing aftermarket FFS on Pirelli DP-L10
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
11 |
11
2a62a7decd9f
top Makefile: compilation happening in bootmatch
Mychaela Falconia <falcon@freecalypso.org>
parents:
1
diff
changeset
|
12 clean: FRC |
2a62a7decd9f
top Makefile: compilation happening in bootmatch
Mychaela Falconia <falcon@freecalypso.org>
parents:
1
diff
changeset
|
13 for i in ${SUBDIR}; do (cd $$i; ${MAKE} ${MFLAGS} clean); done |
0
faf27dbe1a63
scripts for initializing aftermarket FFS on Pirelli DP-L10
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
14 |
11
2a62a7decd9f
top Makefile: compilation happening in bootmatch
Mychaela Falconia <falcon@freecalypso.org>
parents:
1
diff
changeset
|
15 install: FRC |
0
faf27dbe1a63
scripts for initializing aftermarket FFS on Pirelli DP-L10
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
16 mkdir -p ${INSTALL_PREFIX}/bin |
faf27dbe1a63
scripts for initializing aftermarket FFS on Pirelli DP-L10
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
17 install -c -m 755 sh/* ${INSTALL_PREFIX}/bin |
faf27dbe1a63
scripts for initializing aftermarket FFS on Pirelli DP-L10
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
18 mkdir -p ${INSTALL_PREFIX}/scripts |
faf27dbe1a63
scripts for initializing aftermarket FFS on Pirelli DP-L10
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
19 install -c -m 644 cmd/* ${INSTALL_PREFIX}/scripts |
1
acfe834e174f
add compal-flash-boot-for-fc.bin
Mychaela Falconia <falcon@freecalypso.org>
parents:
0
diff
changeset
|
20 mkdir -p ${INSTALL_PREFIX}/target-bin |
acfe834e174f
add compal-flash-boot-for-fc.bin
Mychaela Falconia <falcon@freecalypso.org>
parents:
0
diff
changeset
|
21 install -c -m 644 target-bin/* ${INSTALL_PREFIX}/target-bin |
11
2a62a7decd9f
top Makefile: compilation happening in bootmatch
Mychaela Falconia <falcon@freecalypso.org>
parents:
1
diff
changeset
|
22 |
2a62a7decd9f
top Makefile: compilation happening in bootmatch
Mychaela Falconia <falcon@freecalypso.org>
parents:
1
diff
changeset
|
23 FRC: |