Skip to content

Commit 3e0a9b1

Browse files
Bhaskar VishnuVardhan ChebroluGitHub Enterprise
authored andcommitted
Removing unnecessary error message for make commands without DEVICE
2 parents 880314f + 9ebaed1 commit 3e0a9b1

File tree

84 files changed

+252
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

84 files changed

+252
-0
lines changed

common/utility/makefile_gen/makegen.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,10 @@ def create_params(target,data):
2828
target.write("\n")
2929
target.write("include ./utils.mk\n")
3030
target.write("\n")
31+
target.write("XSA := \n")
32+
target.write("ifneq ($(DEVICE), )\n")
3133
target.write("XSA := $(call device2xsa, $(DEVICE))\n")
34+
target.write("endif\n")
3235
target.write("TEMP_DIR := ./_x.$(TARGET).$(XSA)\n")
3336
target.write("BUILD_DIR := ./build_dir.$(TARGET).$(XSA)\n")
3437
target.write("\n")

cpp_kernels/array_partition/Makefile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,10 @@ SYSROOT :=
4646

4747
include ./utils.mk
4848

49+
XSA :=
50+
ifneq ($(DEVICE), )
4951
XSA := $(call device2xsa, $(DEVICE))
52+
endif
5053
TEMP_DIR := ./_x.$(TARGET).$(XSA)
5154
BUILD_DIR := ./build_dir.$(TARGET).$(XSA)
5255

cpp_kernels/bind_op_storage/Makefile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,10 @@ SYSROOT :=
4646

4747
include ./utils.mk
4848

49+
XSA :=
50+
ifneq ($(DEVICE), )
4951
XSA := $(call device2xsa, $(DEVICE))
52+
endif
5053
TEMP_DIR := ./_x.$(TARGET).$(XSA)
5154
BUILD_DIR := ./build_dir.$(TARGET).$(XSA)
5255

cpp_kernels/burst_rw/Makefile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,10 @@ SYSROOT :=
4646

4747
include ./utils.mk
4848

49+
XSA :=
50+
ifneq ($(DEVICE), )
4951
XSA := $(call device2xsa, $(DEVICE))
52+
endif
5053
TEMP_DIR := ./_x.$(TARGET).$(XSA)
5154
BUILD_DIR := ./build_dir.$(TARGET).$(XSA)
5255

cpp_kernels/critical_path/Makefile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,10 @@ SYSROOT :=
4646

4747
include ./utils.mk
4848

49+
XSA :=
50+
ifneq ($(DEVICE), )
4951
XSA := $(call device2xsa, $(DEVICE))
52+
endif
5053
TEMP_DIR := ./_x.$(TARGET).$(XSA)
5154
BUILD_DIR := ./build_dir.$(TARGET).$(XSA)
5255

cpp_kernels/custom_datatype/Makefile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,10 @@ SYSROOT :=
4646

4747
include ./utils.mk
4848

49+
XSA :=
50+
ifneq ($(DEVICE), )
4951
XSA := $(call device2xsa, $(DEVICE))
52+
endif
5053
TEMP_DIR := ./_x.$(TARGET).$(XSA)
5154
BUILD_DIR := ./build_dir.$(TARGET).$(XSA)
5255

cpp_kernels/dataflow_stream/Makefile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,10 @@ SYSROOT :=
4646

4747
include ./utils.mk
4848

49+
XSA :=
50+
ifneq ($(DEVICE), )
4951
XSA := $(call device2xsa, $(DEVICE))
52+
endif
5053
TEMP_DIR := ./_x.$(TARGET).$(XSA)
5154
BUILD_DIR := ./build_dir.$(TARGET).$(XSA)
5255

cpp_kernels/dataflow_stream_array/Makefile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,10 @@ SYSROOT :=
4646

4747
include ./utils.mk
4848

49+
XSA :=
50+
ifneq ($(DEVICE), )
4951
XSA := $(call device2xsa, $(DEVICE))
52+
endif
5053
TEMP_DIR := ./_x.$(TARGET).$(XSA)
5154
BUILD_DIR := ./build_dir.$(TARGET).$(XSA)
5255

cpp_kernels/dependence_inter/Makefile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,10 @@ SYSROOT :=
4646

4747
include ./utils.mk
4848

49+
XSA :=
50+
ifneq ($(DEVICE), )
4951
XSA := $(call device2xsa, $(DEVICE))
52+
endif
5053
TEMP_DIR := ./_x.$(TARGET).$(XSA)
5154
BUILD_DIR := ./build_dir.$(TARGET).$(XSA)
5255

cpp_kernels/gmem_2banks/Makefile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,10 @@ SYSROOT :=
4646

4747
include ./utils.mk
4848

49+
XSA :=
50+
ifneq ($(DEVICE), )
4951
XSA := $(call device2xsa, $(DEVICE))
52+
endif
5053
TEMP_DIR := ./_x.$(TARGET).$(XSA)
5154
BUILD_DIR := ./build_dir.$(TARGET).$(XSA)
5255

0 commit comments

Comments
 (0)