All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] build: disable default built-in rules and variables
@ 2015-12-01 21:19 Doug Goldstein
  2015-12-01 21:54 ` Andrew Cooper
  0 siblings, 1 reply; 2+ messages in thread
From: Doug Goldstein @ 2015-12-01 21:19 UTC (permalink / raw)
  To: xen-devel
  Cc: Keir Fraser, Ian Campbell, Tim Deegan, Doug Goldstein,
	Jan Beulich, Ian Jackson

Disable the built-in rules and variables from GNU make to improve
build performance and avoid awkward corner cases with the built-in
rules. Currently none of the implicit rules are used but this is helpful
to do when developing changes to the build system.

Signed-off-by: Doug Goldstein <cardoe@cardoe.com>
---
 xen/Makefile | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/xen/Makefile b/xen/Makefile
index fa9cf0a..3a1de99 100644
--- a/xen/Makefile
+++ b/xen/Makefile
@@ -15,6 +15,9 @@ export XEN_BUILD_HOST	?= $(shell hostname)
 export BASEDIR := $(CURDIR)
 export XEN_ROOT := $(BASEDIR)/..
 
+# Do not use make's built-in rules and variables
+MAKEFLAGS += -rR
+
 EFI_MOUNTPOINT ?= $(BOOT_DIR)/efi
 
 .PHONY: default
-- 
2.4.10

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

end of thread, other threads:[~2015-12-01 21:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-12-01 21:19 [PATCH] build: disable default built-in rules and variables Doug Goldstein
2015-12-01 21:54 ` Andrew Cooper

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.