[xen staging] tools: correct tools/tests/depriv/Makefile

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

[xen staging] tools: correct tools/tests/depriv/Makefile

commit 1c21390736524e1fdf7f99816ac54ae85aa9673c
Author:     Juergen Gross <[hidden email]>
AuthorDate: Fri Sep 7 11:16:54 2018 +0200
Commit:     Wei Liu <[hidden email]>
CommitDate: Thu Sep 13 17:19:38 2018 +0100

    tools: correct tools/tests/depriv/Makefile
    tools/tests/depriv/Makefile directly builds the target program from
    its C-source. This is problematic when an incremental build is needed
    after a header the program is depending on has been modified: in this
    case all headers are added into the gcc call and the build will fail.
    Correct that by adding a rule for building the program from its .o
    Signed-off-by: Juergen Gross <[hidden email]>
    Acked-by: Wei Liu <[hidden email]>
    Acked-by: Ian Jackson <[hidden email]>
 tools/tests/depriv/Makefile | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/tools/tests/depriv/Makefile b/tools/tests/depriv/Makefile
index 11e07b7c03..3cba28da25 100644
--- a/tools/tests/depriv/Makefile
+++ b/tools/tests/depriv/Makefile
@@ -40,6 +40,9 @@ clean:
 .PHONY: distclean
 distclean: clean
+depriv-fd-checker: depriv-fd-checker.o
 install: all
generated by git-patchbot for /home/xen/git/xen.git#staging

Xen-changelog mailing list
[hidden email]