[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen master] tools/fuzz: make sure targets are always built



commit e23b93a334d11a1764511534b3eb3708e30759d9
Author:     Wei Liu <wei.liu2@xxxxxxxxxx>
AuthorDate: Thu Jan 19 19:00:14 2017 +0000
Commit:     Wei Liu <wei.liu2@xxxxxxxxxx>
CommitDate: Tue Jan 24 16:24:50 2017 +0000

    tools/fuzz: make sure targets are always built
    
    Invocation of `make' in top-level directory would end up invoking the
    install target.
    
    Adjust fuzzing target makefiles a bit so that they are always build in
    that situation.
    
    Signed-off-by: Wei Liu <wei.liu2@xxxxxxxxxx>
---
 tools/fuzz/Makefile                          | 6 ++----
 tools/fuzz/libelf/Makefile                   | 3 +++
 tools/fuzz/x86_instruction_emulator/Makefile | 3 +++
 3 files changed, 8 insertions(+), 4 deletions(-)

diff --git a/tools/fuzz/Makefile b/tools/fuzz/Makefile
index ce00b82..986fbb8 100644
--- a/tools/fuzz/Makefile
+++ b/tools/fuzz/Makefile
@@ -5,7 +5,5 @@ SUBDIRS-y :=
 SUBDIRS-y += libelf
 SUBDIRS-y += x86_instruction_emulator
 
-.PHONY: all clean distclean
-all clean distclean: %: subdirs-%
-
-install:
+.PHONY: all clean distclean install
+all clean distclean install: %: subdirs-%
diff --git a/tools/fuzz/libelf/Makefile b/tools/fuzz/libelf/Makefile
index 0e9d40a..c73ce44 100644
--- a/tools/fuzz/libelf/Makefile
+++ b/tools/fuzz/libelf/Makefile
@@ -29,3 +29,6 @@ distclean: clean
 .PHONY: clean
 clean:
        rm -f *.o *.a
+
+.PHONY: install
+install: all
diff --git a/tools/fuzz/x86_instruction_emulator/Makefile 
b/tools/fuzz/x86_instruction_emulator/Makefile
index 505de39..20431b0 100644
--- a/tools/fuzz/x86_instruction_emulator/Makefile
+++ b/tools/fuzz/x86_instruction_emulator/Makefile
@@ -34,3 +34,6 @@ distclean: clean
 .PHONY: clean
 clean:
        rm -f *.a *.o
+
+.PHONY: install
+install: all
--
generated by git-patchbot for /home/xen/git/xen.git#master

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxx
https://lists.xenproject.org/xen-changelog

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.