Patchwork libqos: include dependencies

login
register
mail settings
Submitter Anthony Liguori
Date June 20, 2013, 3:11 p.m.
Message ID <1371741109-6765-1-git-send-email-aliguori@us.ibm.com>
Download mbox | patch
Permalink /patch/252996/
State New
Headers show

Comments

Anthony Liguori - June 20, 2013, 3:11 p.m.
Otherwise rebuilds can fail when libqos is modified.

Reported-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
---
 tests/Makefile | 1 +
 1 file changed, 1 insertion(+)
Markus Armbruster - June 20, 2013, 3:24 p.m.
Anthony Liguori <aliguori@us.ibm.com> writes:

> Otherwise rebuilds can fail when libqos is modified.
>
> Reported-by: Markus Armbruster <armbru@redhat.com>
> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>

Tested-by: Markus Armbruster <armbru@redhat.com>

> ---
>  tests/Makefile | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/tests/Makefile b/tests/Makefile
> index 9a3007d..0042cf4 100644
> --- a/tests/Makefile
> +++ b/tests/Makefile
> @@ -227,3 +227,4 @@ check-block: $(patsubst %,check-%, $(check-block-y))
>  check: check-unit check-qtest
>  
>  -include $(wildcard tests/*.d)
> +-include $(wildcard tests/libqos/*.d)

Top-level Makefile also has the line

-include $(wildcard *.d tests/*.d)

Why is it not necessary to change that file, too?

Patch

diff --git a/tests/Makefile b/tests/Makefile
index 9a3007d..0042cf4 100644
--- a/tests/Makefile
+++ b/tests/Makefile
@@ -227,3 +227,4 @@  check-block: $(patsubst %,check-%, $(check-block-y))
 check: check-unit check-qtest
 
 -include $(wildcard tests/*.d)
+-include $(wildcard tests/libqos/*.d)