xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* tools/makefile: Add build target
@ 2012-08-01 18:22 Andrew Cooper
  2012-08-07 18:27 ` Ian Jackson
  0 siblings, 1 reply; 4+ messages in thread
From: Andrew Cooper @ 2012-08-01 18:22 UTC (permalink / raw)
  To: xen-devel@lists.xen.org, Ian Campbell, Ian Jackson

[-- Attachment #1: Type: text/plain, Size: 228 bytes --]

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


[-- Attachment #2: tools-build-target.patch --]
[-- Type: text/x-patch, Size: 688 bytes --]

# 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 <andrew.cooper3@citrix.com>

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

[-- Attachment #3: Type: text/plain, Size: 126 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-08-09 16:59 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-08-01 18:22 tools/makefile: Add build target Andrew Cooper
2012-08-07 18:27 ` Ian Jackson
2012-08-08  9:45   ` Andrew Cooper
2012-08-09 16:59     ` Ian Jackson

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).