From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Cooper Subject: tools/makefile: Add build target Date: Wed, 1 Aug 2012 19:22:45 +0100 Message-ID: <501973F5.4030804@citrix.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------050907080400010102090902" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: "xen-devel@lists.xen.org" , Ian Campbell , Ian Jackson List-Id: xen-devel@lists.xenproject.org --------------050907080400010102090902 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit The alternative is to change the root makefile to call "$(MAKE) -C tools/ all" instead, but this way feels neater to me. -- Andrew Cooper - Dom0 Kernel Engineer, Citrix XenServer T: +44 (0)1223 225 900, http://www.citrix.com --------------050907080400010102090902 Content-Type: text/x-patch; name="tools-build-target.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="tools-build-target.patch" # HG changeset patch # Parent f8ea2e12ed5ab33f160e65f22c9ce8f379863053 tools/makefile: Add build target The root Makefile has a build target which calls "$(MAKE) build" in each of xen/ tools/ stubdom/ and docs/, which fails because of the tools/ Makefile. This patch adds a phony build target, allowing a call to "make build" in the repository root directory still work. Signed-off-by: Andrew Cooper diff -r f8ea2e12ed5a tools/Makefile --- a/tools/Makefile +++ b/tools/Makefile @@ -64,6 +64,9 @@ endif .PHONY: all all: subdirs-all +.PHONY: build +build: subdirs-all + .PHONY: install install: subdirs-install $(INSTALL_DIR) $(DESTDIR)/var/xen/dump --------------050907080400010102090902 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel --------------050907080400010102090902--