Fix the indent issue found in build script
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
parent
5d9811a03d
commit
503b4ccf82
@ -37,9 +37,9 @@ endif
|
||||
# we need to fix up the path so the DELIM will match the actual delimiter.
|
||||
|
||||
ifeq ($(CONFIG_WINDOWS_NATIVE),y)
|
||||
CWD = $(strip ${shell echo %CD% | cut -d: -f2})
|
||||
CWD = $(strip ${shell echo %CD% | cut -d: -f2})
|
||||
else
|
||||
CWD = $(CURDIR)
|
||||
CWD = $(CURDIR)
|
||||
endif
|
||||
|
||||
# Add the static application library to the linked libraries.
|
||||
|
@ -28,8 +28,8 @@ CLEANSUBDIRS += $(dir $(wildcard */.depend))
|
||||
CLEANSUBDIRS += $(dir $(wildcard */.kconfig))
|
||||
CLEANSUBDIRS := $(sort $(CLEANSUBDIRS))
|
||||
ifeq ($(CONFIG_WINDOWS_NATIVE),y)
|
||||
CONFIGSUBDIRS := $(subst /,\,$(CONFIGSUBDIRS))
|
||||
CLEANSUBDIRS := $(subst /,\,$(CLEANSUBDIRS))
|
||||
CONFIGSUBDIRS := $(subst /,\,$(CONFIGSUBDIRS))
|
||||
CLEANSUBDIRS := $(subst /,\,$(CLEANSUBDIRS))
|
||||
endif
|
||||
|
||||
all: nothing
|
||||
|
@ -33,9 +33,9 @@ CONFIGDIRS := $(filter-out $(APPDIR)/builtin/,$(BUILDIRS))
|
||||
CONFIGDIRS := $(filter-out $(dir $(wildcard $(APPDIR)/*/Kconfig)),$(CONFIGDIRS))
|
||||
CLEANDIRS := $(dir $(wildcard $(APPDIR)/*/Makefile))
|
||||
ifeq ($(CONFIG_WINDOWS_NATIVE),y)
|
||||
BUILDIRS := $(subst /,\,$(BUILDIRS))
|
||||
CONFIGDIRS := $(subst /,\,$(CONFIGDIRS))
|
||||
CLEANDIRS := $(subst /,\,$(CLEANDIRS))
|
||||
BUILDIRS := $(subst /,\,$(BUILDIRS))
|
||||
CONFIGDIRS := $(subst /,\,$(CONFIGDIRS))
|
||||
CLEANDIRS := $(subst /,\,$(CLEANDIRS))
|
||||
endif
|
||||
|
||||
# CONFIGURED_APPS is the application directories that should be built in
|
||||
@ -44,7 +44,7 @@ endif
|
||||
CONFIGURED_APPS :=
|
||||
|
||||
define Add_Application
|
||||
include $(1)Make.defs
|
||||
include $(1)Make.defs
|
||||
endef
|
||||
|
||||
$(foreach BDIR, $(BUILDIRS), $(eval $(call Add_Application,$(BDIR))))
|
||||
|
Loading…
Reference in New Issue
Block a user