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

[Xen-changelog] [xen master] xen/build: disable default built-in rules and variables



commit 2c4f313a7e62c7e559a469d4af4c3d03c49afa43
Author:     Doug Goldstein <cardoe@xxxxxxxxxx>
AuthorDate: Wed Dec 2 15:22:56 2015 +0100
Commit:     Jan Beulich <jbeulich@xxxxxxxx>
CommitDate: Wed Dec 2 15:22:56 2015 +0100

    xen/build: disable default built-in rules and variables
    
    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@xxxxxxxxxx>
    Reviewed-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
    Acked-by: Jan Beulich <jbeulich@xxxxxxxx>
---
 xen/Makefile |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

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
--
generated by git-patchbot for /home/xen/git/xen.git#master

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

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