Skip to content

Commit c5de8be

Browse files
Virat AgarwalGitHub Enterprise
Virat Agarwal
authored and
GitHub Enterprise
committed
Updating host_memory examples config.mk to handle 202010 hw case
1 parent 1d85cdd commit c5de8be

File tree

7 files changed

+7
-7
lines changed

7 files changed

+7
-7
lines changed

host/host_memory_bandwidth/config.mk

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
ifeq ($(TARGET),$(findstring $(TARGET), hw_emu))
1+
ifeq ($(TARGET),$(filter $(TARGET),hw_emu))
22
ifeq ($(findstring 202010, $(DEVICE)), 202010)
33
$(error [ERROR]: This example is not supported for $(DEVICE) when targeting hw_emu.)
44
endif

host/host_memory_copy_kernel/config.mk

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
ifeq ($(TARGET),$(findstring $(TARGET), hw_emu))
1+
ifeq ($(TARGET),$(filter $(TARGET),hw_emu))
22
ifeq ($(findstring 202010, $(DEVICE)), 202010)
33
$(error [ERROR]: This example is not supported for $(DEVICE) when targeting hw_emu.)
44
endif

host/host_memory_simple/config.mk

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
ifeq ($(TARGET),$(findstring $(TARGET), hw_emu))
1+
ifeq ($(TARGET),$(filter $(TARGET),hw_emu))
22
ifeq ($(findstring 202010, $(DEVICE)), 202010)
33
$(error [ERROR]: This example is not supported for $(DEVICE) when targeting hw_emu.)
44
endif

host_xrt/host_memory_bandwidth_xrt/config.mk

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
ifeq ($(TARGET),$(findstring $(TARGET), hw_emu))
1+
ifeq ($(TARGET),$(filter $(TARGET),hw_emu))
22
ifeq ($(findstring 202010, $(DEVICE)), 202010)
33
$(error [ERROR]: This example is not supported for $(DEVICE) when targeting hw_emu.)
44
endif

host_xrt/host_memory_copy_kernel_xrt/config.mk

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
ifeq ($(TARGET),$(findstring $(TARGET), hw_emu))
1+
ifeq ($(TARGET),$(filter $(TARGET),hw_emu))
22
ifeq ($(findstring 202010, $(DEVICE)), 202010)
33
$(error [ERROR]: This example is not supported for $(DEVICE) when targeting hw_emu.)
44
endif

host_xrt/host_memory_simple_xrt/config.mk

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
ifeq ($(TARGET),$(findstring $(TARGET), hw_emu))
1+
ifeq ($(TARGET),$(filter $(TARGET),hw_emu))
22
ifeq ($(findstring 202010, $(DEVICE)), 202010)
33
$(error [ERROR]: This example is not supported for $(DEVICE) when targeting hw_emu.)
44
endif

validate/hostmemory_test/config.mk

100755100644
+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ platform_test:
88

99
VPP_LDFLAGS:= --config platform_hostmemory.cfg
1010

11-
ifeq ($(TARGET),$(findstring $(TARGET), hw_emu))
11+
ifeq ($(TARGET),$(filter $(TARGET),hw_emu))
1212
ifeq ($(findstring 202010, $(DEVICE)), 202010)
1313
$(error [ERROR]: This example is not supported for $(DEVICE) when targeting hw_emu.)
1414
endif

0 commit comments

Comments
 (0)