Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
V
virtual_game_machine
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
adrian.spycher
virtual_game_machine
Commits
e79d968b
Commit
e79d968b
authored
7 months ago
by
adrian.spycher
Browse files
Options
Downloads
Patches
Plain Diff
feat: update Makefile for vmm_pv, vmm_phys and run rules
parent
9ba3bcac
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Makefile
+14
-2
14 additions, 2 deletions
Makefile
vmm/Makefile
+18
-0
18 additions, 0 deletions
vmm/Makefile
with
32 additions
and
2 deletions
Makefile
+
14
−
2
View file @
e79d968b
...
@@ -12,7 +12,19 @@ help:
...
@@ -12,7 +12,19 @@ help:
@
echo
" clean_vmm delete VMM"
@
echo
" clean_vmm delete VMM"
@
echo
" clean_guest delete guest"
@
echo
" clean_guest delete guest"
guest
:
run_pv
:
guest_pv vmm
./vmm/vmm guest/guest.bin
run_pv
:
guest_pv vmm
./vmm/vmm guest/guest.bin
vmm
:
$(
MAKE
)
-C
vmm
OUT
=
vmm
guest_phys
:
$(
MAKE
)
-C
guest
PV
=
0
OUT
=
guest.bin
guest_pv
:
$(
MAKE
)
-C
guest
PV
=
1
OUT
=
guest.bin
$(
MAKE
)
-C
guest
PV
=
1
OUT
=
guest.bin
.PHONY
:
guest
.PHONY
:
guest
\ No newline at end of file
This diff is collapsed.
Click to expand it.
vmm/Makefile
+
18
−
0
View file @
e79d968b
CC
=
gcc
-std
=
gnu17
$(
BAREMETAL_FLAGS
)
-Wall
-Wextra
-MMD
-Ishared
-I
../..
-I
..
C_SRCS
=
$(
shell find
.
-name
"*.c"
)
C_OBJS
=
$(
C_SRCS:.c
=
.o
)
C_DEPS
=
$(
C_OBJS:%.o
=
%.d
)
$(OUT)
:
$(C_OBJS)
$(
CC
)
$^
-o
$@
%.o
:
%.c
$(
CC
)
-c
$<
-o
$@
clean
:
rm
-f
$(
C_OBJS
)
$(
C_DEPS
)
*
.o
*
.d
$(
OUT
)
.PHONY
:
clean
-include
$(C_DEPS)
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment