Patrick Georgi has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/41770 )
Change subject: tests: Move cmocka binary into $(obj) ......................................................................
tests: Move cmocka binary into $(obj)
Put it in $(objutil) so that it's shared between board builds with abuild even if that doesn't matter right now.
Change-Id: I5670d9b661891262ad936980f63fa93b07c27e95 Signed-off-by: Patrick Georgi pgeorgi@google.com --- M tests/Makefile.inc 1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/70/41770/1
diff --git a/tests/Makefile.inc b/tests/Makefile.inc index a6689a2..f84fa30 100644 --- a/tests/Makefile.inc +++ b/tests/Makefile.inc @@ -3,7 +3,7 @@ testsrc = $(top)/tests testobj = $(obj)/tests cmockasrc = 3rdparty/cmocka -cmockaobj = $(cmockasrc)/build +cmockaobj = $(objutil)/cmocka
CMOCKA_LIB := $(cmockaobj)/src/libcmocka.so
Angel Pons has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/41770 )
Change subject: tests: Move cmocka binary into $(obj) ......................................................................
Patch Set 1: Code-Review+1
Jan Dabros has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/41770 )
Change subject: tests: Move cmocka binary into $(obj) ......................................................................
Patch Set 1:
(1 comment)
https://review.coreboot.org/c/coreboot/+/41770/1/tests/Makefile.inc File tests/Makefile.inc:
https://review.coreboot.org/c/coreboot/+/41770/1/tests/Makefile.inc@6 PS1, Line 6: cmockaobj = $(objutil)/cmocka One side effect of this change is that "make clean" will remove cmocka library. Probably this is desired behavior - we don't have target like "clean-all" right? "make clean" should clean everything, right?
Patrick Georgi has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/41770 )
Change subject: tests: Move cmocka binary into $(obj) ......................................................................
Patch Set 1:
(1 comment)
https://review.coreboot.org/c/coreboot/+/41770/1/tests/Makefile.inc File tests/Makefile.inc:
https://review.coreboot.org/c/coreboot/+/41770/1/tests/Makefile.inc@6 PS1, Line 6: cmockaobj = $(objutil)/cmocka
One side effect of this change is that "make clean" will remove cmocka library. […]
We have distclean, but even that probably doesn't touch 3rdparty repositories. All in all, we try to keep sources and object files separate, and if people want a clean tree, then stuff gets rebuilt - simple as that :-)
Jan Dabros has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/41770 )
Change subject: tests: Move cmocka binary into $(obj) ......................................................................
Patch Set 1: Code-Review+1
(1 comment)
https://review.coreboot.org/c/coreboot/+/41770/1/tests/Makefile.inc File tests/Makefile.inc:
https://review.coreboot.org/c/coreboot/+/41770/1/tests/Makefile.inc@6 PS1, Line 6: cmockaobj = $(objutil)/cmocka
We have distclean, but even that probably doesn't touch 3rdparty repositories. […]
Done
Martin Roth has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/41770 )
Change subject: tests: Move cmocka binary into $(obj) ......................................................................
Patch Set 1: Code-Review+2
Angel Pons has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/41770 )
Change subject: tests: Move cmocka binary into $(obj) ......................................................................
Patch Set 1: Code-Review+2
Patrick Georgi has submitted this change. ( https://review.coreboot.org/c/coreboot/+/41770 )
Change subject: tests: Move cmocka binary into $(obj) ......................................................................
tests: Move cmocka binary into $(obj)
Put it in $(objutil) so that it's shared between board builds with abuild even if that doesn't matter right now.
Change-Id: I5670d9b661891262ad936980f63fa93b07c27e95 Signed-off-by: Patrick Georgi pgeorgi@google.com Reviewed-on: https://review.coreboot.org/c/coreboot/+/41770 Tested-by: build bot (Jenkins) no-reply@coreboot.org Reviewed-by: Jan Dabros jsd@semihalf.com Reviewed-by: Martin Roth martinroth@google.com Reviewed-by: Angel Pons th3fanbus@gmail.com --- M tests/Makefile.inc 1 file changed, 1 insertion(+), 1 deletion(-)
Approvals: build bot (Jenkins): Verified Martin Roth: Looks good to me, approved Angel Pons: Looks good to me, approved Jan Dabros: Looks good to me, but someone else must approve
diff --git a/tests/Makefile.inc b/tests/Makefile.inc index a6689a2..f84fa30 100644 --- a/tests/Makefile.inc +++ b/tests/Makefile.inc @@ -3,7 +3,7 @@ testsrc = $(top)/tests testobj = $(obj)/tests cmockasrc = 3rdparty/cmocka -cmockaobj = $(cmockasrc)/build +cmockaobj = $(objutil)/cmocka
CMOCKA_LIB := $(cmockaobj)/src/libcmocka.so