File tree Expand file tree Collapse file tree 1 file changed +9
-10
lines changed
Expand file tree Collapse file tree 1 file changed +9
-10
lines changed Original file line number Diff line number Diff line change @@ -37,16 +37,15 @@ ifeq ($(origin DESIGN_NAME), undefined)
3737 $(error DESIGN_NAME variable net set.)
3838endif
3939
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
40+ ifneq ($(PLATFORM_DIR ) ,)
41+ else 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.)
5049endif
5150
5251include $(PLATFORM_DIR ) /config.mk
You can’t perform that action at this time.
0 commit comments