projects
/
soc.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Add instructions for how to launch qemu
[soc.git]
/
src
/
soc
/
simulator
/
qemu_test
/
Makefile
1
TOOLCHAIN
=
powerpc64-linux-gnu
2
CC
=$(
TOOLCHAIN
)-
gcc
3
AS
=$(
TOOLCHAIN
)-
as
4
AFLAGS
=-
mpwr9
5
6
all
:
kernel.bin
7
8
kernel.elf
:
test
.o
9
$(
TOOLCHAIN
)-
ld
$
^
-
o
$
@
-
T memmap
10
11
kernel.bin
:
kernel.elf
12
$(
TOOLCHAIN
)-
objcopy
$< -
O binary
$
@
13
14
%
.o
: %
.s
15
$(
AS
) $(
AFLAGS
) -
c
$< -
o
$
@