Skip to content

Commit

Permalink
Updating host_memory examples config.mk to handle 202010 hw case
Browse files Browse the repository at this point in the history
  • Loading branch information
Virat Agarwal authored and GitHub Enterprise committed Oct 18, 2021
1 parent 1d85cdd commit c5de8be
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion host/host_memory_bandwidth/config.mk
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ifeq ($(TARGET),$(findstring $(TARGET), hw_emu))
ifeq ($(TARGET),$(filter $(TARGET),hw_emu))
ifeq ($(findstring 202010, $(DEVICE)), 202010)
$(error [ERROR]: This example is not supported for $(DEVICE) when targeting hw_emu.)
endif
Expand Down
2 changes: 1 addition & 1 deletion host/host_memory_copy_kernel/config.mk
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ifeq ($(TARGET),$(findstring $(TARGET), hw_emu))
ifeq ($(TARGET),$(filter $(TARGET),hw_emu))
ifeq ($(findstring 202010, $(DEVICE)), 202010)
$(error [ERROR]: This example is not supported for $(DEVICE) when targeting hw_emu.)
endif
Expand Down
2 changes: 1 addition & 1 deletion host/host_memory_simple/config.mk
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ifeq ($(TARGET),$(findstring $(TARGET), hw_emu))
ifeq ($(TARGET),$(filter $(TARGET),hw_emu))
ifeq ($(findstring 202010, $(DEVICE)), 202010)
$(error [ERROR]: This example is not supported for $(DEVICE) when targeting hw_emu.)
endif
Expand Down
2 changes: 1 addition & 1 deletion host_xrt/host_memory_bandwidth_xrt/config.mk
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ifeq ($(TARGET),$(findstring $(TARGET), hw_emu))
ifeq ($(TARGET),$(filter $(TARGET),hw_emu))
ifeq ($(findstring 202010, $(DEVICE)), 202010)
$(error [ERROR]: This example is not supported for $(DEVICE) when targeting hw_emu.)
endif
Expand Down
2 changes: 1 addition & 1 deletion host_xrt/host_memory_copy_kernel_xrt/config.mk
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ifeq ($(TARGET),$(findstring $(TARGET), hw_emu))
ifeq ($(TARGET),$(filter $(TARGET),hw_emu))
ifeq ($(findstring 202010, $(DEVICE)), 202010)
$(error [ERROR]: This example is not supported for $(DEVICE) when targeting hw_emu.)
endif
Expand Down
2 changes: 1 addition & 1 deletion host_xrt/host_memory_simple_xrt/config.mk
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ifeq ($(TARGET),$(findstring $(TARGET), hw_emu))
ifeq ($(TARGET),$(filter $(TARGET),hw_emu))
ifeq ($(findstring 202010, $(DEVICE)), 202010)
$(error [ERROR]: This example is not supported for $(DEVICE) when targeting hw_emu.)
endif
Expand Down
2 changes: 1 addition & 1 deletion validate/hostmemory_test/config.mk
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ platform_test:

VPP_LDFLAGS:= --config platform_hostmemory.cfg

ifeq ($(TARGET),$(findstring $(TARGET), hw_emu))
ifeq ($(TARGET),$(filter $(TARGET),hw_emu))
ifeq ($(findstring 202010, $(DEVICE)), 202010)
$(error [ERROR]: This example is not supported for $(DEVICE) when targeting hw_emu.)
endif
Expand Down

0 comments on commit c5de8be

Please sign in to comment.