Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ycai
simbricks
Commits
7d247fcc
Commit
7d247fcc
authored
Jan 21, 2022
by
Antoine Kaufmann
Browse files
sims/external/femu: add
parent
8517e4d0
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
2 deletions
+14
-2
.gitmodules
.gitmodules
+3
-0
sims/external/femu
sims/external/femu
+1
-0
sims/external/rules.mk
sims/external/rules.mk
+10
-2
No files found.
.gitmodules
View file @
7d247fcc
...
@@ -7,3 +7,6 @@
...
@@ -7,3 +7,6 @@
[submodule "sims/external/ns-3"]
[submodule "sims/external/ns-3"]
path = sims/external/ns-3
path = sims/external/ns-3
url = git@github.com:simbricks/ns-3.git
url = git@github.com:simbricks/ns-3.git
[submodule "sims/external/femu"]
path = sims/external/femu
url = git@github.com:simbricks/femu.git
femu
@
a651deff
Subproject commit a651deff54741770a7ffb585931182b9fbe6502d
sims/external/rules.mk
View file @
7d247fcc
...
@@ -25,7 +25,7 @@ include mk/subdir_pre.mk
...
@@ -25,7 +25,7 @@ include mk/subdir_pre.mk
QEMU_IMG
:=
$(d)
qemu/build/qemu-img
QEMU_IMG
:=
$(d)
qemu/build/qemu-img
QEMU
:=
$(d)
qemu/build/qemu-system-x86_64
QEMU
:=
$(d)
qemu/build/qemu-system-x86_64
external
:
$(d)gem5/ready $(d)qemu/ready $(d)ns-3/ready
external
:
$(d)gem5/ready $(d)qemu/ready $(d)ns-3/ready
$(d)femu/ready
.PHONY
:
external
.PHONY
:
external
$(d)gem5
:
$(d)gem5
:
...
@@ -65,5 +65,13 @@ $(d)ns-3/ready: $(d)ns-3 $(lib_netif)
...
@@ -65,5 +65,13 @@ $(d)ns-3/ready: $(d)ns-3 $(lib_netif)
+cd
$<
&&
COSIM_PATH
=
$(
abspath
$(base_dir)
)
./cosim-build.sh configure
+cd
$<
&&
COSIM_PATH
=
$(
abspath
$(base_dir)
)
./cosim-build.sh configure
touch
$@
touch
$@
DISTCLEAN
:=
$(base_dir)
gem5
$(base_dir)
qemu
$(base_dir)
ns-3
$(d)femu
:
git clone git@github.com:simbricks/femu.git
$@
$(d)femu/ready
:
$(d)femu $(lib_nicif)
cd
$<
&&
make
EXTRA_LDFLAGS
=
-L
$(
abspath
$(lib_dir)
)
/simbricks/nicif/
\
EXTRA_CPPFLAGS
=
-I
$(
abspath
$(lib_dir)
)
touch
$@
DISTCLEAN
:=
$(base_dir)
gem5
$(base_dir)
qemu
$(base_dir)
ns-3
$(base_dir)
femu
include
mk/subdir_post.mk
include
mk/subdir_post.mk
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment