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
e0f613fa
Commit
e0f613fa
authored
Feb 18, 2022
by
Antoine Kaufmann
Browse files
images: add build-images-min target
Only builds base image, none of the others.
parent
e1e32ade
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
0 deletions
+7
-0
Makefile
Makefile
+1
-0
images/rules.mk
images/rules.mk
+6
-0
No files found.
Makefile
View file @
e0f613fa
...
...
@@ -77,6 +77,7 @@ help:
@
echo
" all: builds all the tools directly in this repo"
@
echo
" clean: cleans all the tool folders in this repo"
@
echo
" build-images: prepare prereqs for VMs (images directory)"
@
echo
" build-images-min: prepare minimal prereqs for VMs"
@
echo
" documentation: build documentation in doc/build_"
@
echo
" external: clone and build our tools in external repos "
@
echo
" (qemu, gem5, ns-3)"
...
...
images/rules.mk
View file @
e0f613fa
...
...
@@ -35,6 +35,9 @@ TAS_IMAGE := $(d)output-tas/tas
IMAGES
:=
$(UBUNTU_IMAGE)
$(BASE_IMAGE)
$(NOPAXOS_IMAGE)
$(MEMCACHED_IMAGE)
RAW_IMAGES
:=
$(
addsuffix
.raw,
$(IMAGES)
)
IMAGES_MIN
:=
$(UBUNTU_IMAGE)
$(BASE_IMAGE)
RAW_IMAGES_MIN
:=
$(
addsuffix
.raw,
$(IMAGES_MIN)
)
img_dir
:=
$(d)
packer
:=
$(d)
packer
...
...
@@ -52,6 +55,9 @@ guest_init := $(d)/scripts/guestinit.sh
build-images
:
$(IMAGES) $(RAW_IMAGES) $(vmlinux) $(bz_image) $(mqnic_mod)
build-images-min
:
$(IMAGES_MIN) $(RAW_IMAGES_MIN) $(vmlinux) $(bz_image)
\
$(mqnic_mod)
################################################
# Disk image
...
...
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