Skip to contentSkip to conversation

tools: always enable HAS_MEM_ACCESS

PATCH In review Doug Goldstein 4 participants 5 messages Dec 11, 2015 – Dec 16, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 tools: always enable HAS_MEM_ACCESS

For all supported targets HAS_MEM_ACCESS is enabled so this drops the conditional and always makes it enabled. The goal here is to remove the setting in the top level config directory when kconfig changes land.

---
 tools/tests/xen-access/Makefile | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
tools/tests/xen-access/Makefile +1 -2
index f810543..dd70f9f 100644
@@ -7,8 +7,7 @@ CFLAGS += $(CFLAGS_libxenctrl)
 CFLAGS += $(CFLAGS_libxenguest)
 CFLAGS += $(CFLAGS_xeninclude)
 
-TARGETS-y :=
-TARGETS-$(HAS_MEM_ACCESS) := xen-access
+TARGETS-y := xen-access
 TARGETS := $(TARGETS-y)
 
 .PHONY: all
Signature · 1 line
2.4.10
Acked-by on v1 1/1
#3 lore raw
In reply to Doug Goldstein
Quoted 5 lines · Doug Goldstein

For all supported targets HAS_MEM_ACCESS is enabled so this drops the conditional and always makes it enabled. The goal here is to remove the setting in the top level config directory when kconfig changes land.

I suppose any future arch which doesn't initially add xen access support will have to patch the Kconfig later on, which is fine by me.

Quoted 16 lines

---
 tools/tests/xen-access/Makefile | 3 +--

 1 file changed, 1 insertion(+), 2 deletions(-)
tools/tests/xen- renamed from tools/tests/xen-access/Makefile +0 -0

access/Makefile
index f810543..dd70f9f 100644

tools/tests/xen-access/Makefile +0 -0
@@ -7,8 +7,7 @@ CFLAGS += $(CFLAGS_libxenctrl)
  CFLAGS += $(CFLAGS_libxenguest)
  CFLAGS += $(CFLAGS_xeninclude)

tools/tests/xen-access/Makefile +1 -2
-TARGETS-y :=
-TARGETS-$(HAS_MEM_ACCESS) := xen-access
+TARGETS-y := xen-access
Quoted 3 lines

 TARGETS := $(TARGETS-y)

 .PHONY: all

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel