-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Change examples/virtio
to use new Makefile snippet system
#79
Conversation
f0daed1
to
1d38844
Compare
@wom-bat would you be able to have a look at this PR as well? |
5ca8f2d
to
fadb281
Compare
This is ready for review again but we need to review/merge au-ts/sddf#152 before merging this one |
b73b7c4
to
a85eae3
Compare
Signed-off-by: Alex Brown <[email protected]>
Signed-off-by: Alex Brown <[email protected]>
Signed-off-by: Alex Brown <[email protected]>
Signed-off-by: Alex Brown <[email protected]>
Signed-off-by: Alex Brown <[email protected]>
Signed-off-by: Alex Brown <[email protected]>
Signed-off-by: Alex Brown <[email protected]>
Signed-off-by: Alex Brown <[email protected]>
Signed-off-by: Alex Brown <[email protected]>
Signed-off-by: Alex Brown <[email protected]>
Some snippets require LIBS to be defined such as sddf's network_components.mk. Without this, we get linking errors as microkit is not linked. Signed-off-by: Alex Brown <[email protected]>
a85eae3
to
7b62f46
Compare
Signed-off-by: Alex Brown <[email protected]>
Signed-off-by: Alex Brown <[email protected]>
Signed-off-by: Alex Brown <[email protected]>
tools/linux/blk/blk_init.mk
Outdated
ifeq ($(strip $(LIBVMM)),) | ||
$(error LIBVMM must be specified) | ||
endif |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why not do LIBVMM ?= ../../
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You could do:
LINUX_BLK_DIR := $(abs $(dir $(last ${MAKEFILES_LIST}))
LIBVMM ?= $(realpath ${LINUX_BLK_DIR)}/../../)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done 282cad9
Signed-off-by: Alex Brown <[email protected]>
Without PRECIOUS, intermediate files (i.e., %_vm/*) are deleted Signed-off-by: Alex Brown <[email protected]>
Before make tried to delete directory `init.d`. Add file filter to find command to ensure we only delete dependency files. Signed-off-by: Alex Brown <[email protected]>
Signed-off-by: Alex Brown <[email protected]>
vm.dts needs to depend on the CFLAGS as if the board is changed the dts files must be updated as well. Signed-off-by: Alex Brown <[email protected]>
tools/linux/blk/blk_init.mk
Outdated
ifeq ($(strip $(LIBVMM)),) | ||
$(error LIBVMM must be specified) | ||
endif |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You could do:
LINUX_BLK_DIR := $(abs $(dir $(last ${MAKEFILES_LIST}))
LIBVMM ?= $(realpath ${LINUX_BLK_DIR)}/../../)
Signed-off-by: Alex Brown <[email protected]>
Signed-off-by: Alex Brown <[email protected]>
I think all the feedback has been addressed now, can you squash the commits into one and then we can merge. |
Signed-off-by: Alex Brown <[email protected]>
Signed-off-by: Alex Brown <[email protected]>
Signed-off-by: Alex Brown <[email protected]>
Signed-off-by: Alex Brown <[email protected]>
Similar to #77 but for
examples/virtio
.