File tree Expand file tree Collapse file tree 1 file changed +10
-8
lines changed
Expand file tree Collapse file tree 1 file changed +10
-8
lines changed Original file line number Diff line number Diff line change @@ -37,14 +37,16 @@ ifeq ($(origin DESIGN_NAME), undefined)
3737 $(error DESIGN_NAME variable net set.)
3838endif
3939
40- ifneq ($(wildcard $(PLATFORM_HOME ) /$(PLATFORM ) ) ,)
41- export PLATFORM_DIR = $(PLATFORM_HOME ) /$(PLATFORM )
42- else ifneq ($(findstring $(PLATFORM),$(PUBLIC)),)
43- export PLATFORM_DIR = ./platforms/$(PLATFORM )
44- else ifneq ($(wildcard ../../$(PLATFORM)),)
45- export PLATFORM_DIR = ../../$(PLATFORM )
46- else
47- $(error [ERROR][FLOW] Platform '$(PLATFORM)' not found.)
40+ ifeq ($(PLATFORM_DIR ) ,)
41+ ifneq ($(wildcard $(PLATFORM_HOME)/$(PLATFORM)),)
42+ export PLATFORM_DIR = $(PLATFORM_HOME ) /$(PLATFORM )
43+ else ifneq ($(findstring $(PLATFORM),$(PUBLIC)),)
44+ export PLATFORM_DIR = ./platforms/$(PLATFORM )
45+ else ifneq ($(wildcard ../../$(PLATFORM)),)
46+ export PLATFORM_DIR = ../../$(PLATFORM )
47+ else
48+ $(error [ERROR][FLOW] Platform '$(PLATFORM)' not found.)
49+ endif
4850endif
4951
5052include $(PLATFORM_DIR ) /config.mk
You can’t perform that action at this time.
0 commit comments