From: Wei Liu <wei.liu2@citrix.com>
To: Xen-devel <xen-devel@lists.xenproject.org>
Cc: Wei Liu <wei.liu2@citrix.com>, Ian Jackson <Ian.Jackson@eu.citrix.com>
Subject: [PATCH 2/2] tools/fuzz: make sure targets are always built
Date: Thu, 19 Jan 2017 19:12:59 +0000 [thread overview]
Message-ID: <1484853179-8782-3-git-send-email-wei.liu2@citrix.com> (raw)
In-Reply-To: <1484853179-8782-1-git-send-email-wei.liu2@citrix.com>
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@citrix.com>
---
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
--
2.1.4
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
https://lists.xen.org/xen-devel
next prev parent reply other threads:[~2017-01-19 19:13 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-01-19 19:12 [PATCH 0/2] Fix and adjustment to tools/fuzz Wei Liu
2017-01-19 19:12 ` [PATCH 1/2] tools/fuzz: fix compilation after 897129d Wei Liu
2017-01-19 19:12 ` Wei Liu [this message]
2017-01-20 10:30 ` [PATCH] tools/fuzz: remove redundant rule in x86 insn fuzzer Wei Liu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1484853179-8782-3-git-send-email-wei.liu2@citrix.com \
--to=wei.liu2@citrix.com \
--cc=Ian.Jackson@eu.citrix.com \
--cc=xen-devel@lists.xenproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).