[tip:tools/kvm] kvm tools: Makefile cleanups

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

 



Commit-ID:  bce9819831ee19e54c0198aecdf5941854568679
Gitweb:     http://git.kernel.org/tip/bce9819831ee19e54c0198aecdf5941854568679
Author:     Pekka Enberg <penberg@xxxxxxxxxx>
AuthorDate: Wed, 8 Jun 2011 17:20:46 +0300
Committer:  Pekka Enberg <penberg@xxxxxxxxxx>
CommitDate: Wed, 8 Jun 2011 17:20:46 +0300

kvm tools: Makefile cleanups

Use immediate evaluation (":=") instead of deferred evaluation ("=") and tidy
up things while we're there.

Cc: Cyrill Gorcunov <gorcunov@xxxxxxxxx>
Signed-off-by: Pekka Enberg <penberg@xxxxxxxxxx>
---
 tools/kvm/Makefile |   15 ++++++++-------
 1 files changed, 8 insertions(+), 7 deletions(-)

diff --git a/tools/kvm/Makefile b/tools/kvm/Makefile
index c8d3cc0..84aea8c 100644
--- a/tools/kvm/Makefile
+++ b/tools/kvm/Makefile
@@ -10,10 +10,11 @@ export E Q
 include config/utilities.mak
 include config/feature-tests.mak
 
-PROGRAM	= kvm
-FIND = find
-CSCOPE = cscope
-TAGS = ctags
+FIND	:= find
+CSCOPE	:= cscope
+TAGS	:= ctags
+
+PROGRAM	:= kvm
 
 OBJS	+= cpuid.o
 OBJS	+= disk/core.o
@@ -54,7 +55,7 @@ OBJS	+= virtio/9p.o
 OBJS	+= hw/vesa.o
 OBJS	+= hw/i8042.o
 
-FLAGS_BFD=$(CFLAGS) -lbfd
+FLAGS_BFD := $(CFLAGS) -lbfd
 has_bfd := $(call try-cc,$(SOURCE_BFD),$(FLAGS_BFD))
 ifeq ($(has_bfd),y)
 	CFLAGS	+= -DCONFIG_HAS_BFD
@@ -62,7 +63,7 @@ ifeq ($(has_bfd),y)
 	LIBS	+= -lbfd
 endif
 
-FLAGS_VNCSERVER=$(CFLAGS) -lvncserver
+FLAGS_VNCSERVER := $(CFLAGS) -lvncserver
 has_vncserver := $(call try-cc,$(SOURCE_VNCSERVER),$(FLAGS_VNCSERVER))
 ifeq ($(has_vncserver),y)
 	OBJS	+= ui/vnc.o
@@ -70,7 +71,7 @@ ifeq ($(has_vncserver),y)
 	LIBS	+= -lvncserver
 endif
 
-FLAGS_SDL=$(CFLAGS) -lSDL
+FLAGS_SDL := $(CFLAGS) -lSDL
 has_SDL := $(call try-cc,$(SOURCE_SDL),$(FLAGS_SDL))
 ifeq ($(has_SDL),y)
 	OBJS	+= ui/sdl.o
--
To unsubscribe from this list: send the line "unsubscribe linux-tip-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Stable Commits]     [Linux Stable Kernel]     [Linux Kernel]     [Linux USB Devel]     [Linux Video &Media]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux