File tree Expand file tree Collapse file tree 1 file changed +8
-9
lines changed
Expand file tree Collapse file tree 1 file changed +8
-9
lines changed Original file line number Diff line number Diff line change @@ -38,15 +38,14 @@ ifeq ($(origin DESIGN_NAME), undefined)
3838endif
3939
4040ifeq ($(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
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