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.
|
# we need to fix up the path so the DELIM will match the actual delimiter.
|
||||||
|
|
||||||
ifeq ($(CONFIG_WINDOWS_NATIVE),y)
|
ifeq ($(CONFIG_WINDOWS_NATIVE),y)
|
||||||
CWD = $(strip ${shell echo %CD% | cut -d: -f2})
|
CWD = $(strip ${shell echo %CD% | cut -d: -f2})
|
||||||
else
|
else
|
||||||
CWD = $(CURDIR)
|
CWD = $(CURDIR)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# Add the static application library to the linked libraries.
|
# Add the static application library to the linked libraries.
|
||||||
|
@ -28,8 +28,8 @@ CLEANSUBDIRS += $(dir $(wildcard */.depend))
|
|||||||
CLEANSUBDIRS += $(dir $(wildcard */.kconfig))
|
CLEANSUBDIRS += $(dir $(wildcard */.kconfig))
|
||||||
CLEANSUBDIRS := $(sort $(CLEANSUBDIRS))
|
CLEANSUBDIRS := $(sort $(CLEANSUBDIRS))
|
||||||
ifeq ($(CONFIG_WINDOWS_NATIVE),y)
|
ifeq ($(CONFIG_WINDOWS_NATIVE),y)
|
||||||
CONFIGSUBDIRS := $(subst /,\,$(CONFIGSUBDIRS))
|
CONFIGSUBDIRS := $(subst /,\,$(CONFIGSUBDIRS))
|
||||||
CLEANSUBDIRS := $(subst /,\,$(CLEANSUBDIRS))
|
CLEANSUBDIRS := $(subst /,\,$(CLEANSUBDIRS))
|
||||||
endif
|
endif
|
||||||
|
|
||||||
all: nothing
|
all: nothing
|
||||||
|
@ -33,9 +33,9 @@ CONFIGDIRS := $(filter-out $(APPDIR)/builtin/,$(BUILDIRS))
|
|||||||
CONFIGDIRS := $(filter-out $(dir $(wildcard $(APPDIR)/*/Kconfig)),$(CONFIGDIRS))
|
CONFIGDIRS := $(filter-out $(dir $(wildcard $(APPDIR)/*/Kconfig)),$(CONFIGDIRS))
|
||||||
CLEANDIRS := $(dir $(wildcard $(APPDIR)/*/Makefile))
|
CLEANDIRS := $(dir $(wildcard $(APPDIR)/*/Makefile))
|
||||||
ifeq ($(CONFIG_WINDOWS_NATIVE),y)
|
ifeq ($(CONFIG_WINDOWS_NATIVE),y)
|
||||||
BUILDIRS := $(subst /,\,$(BUILDIRS))
|
BUILDIRS := $(subst /,\,$(BUILDIRS))
|
||||||
CONFIGDIRS := $(subst /,\,$(CONFIGDIRS))
|
CONFIGDIRS := $(subst /,\,$(CONFIGDIRS))
|
||||||
CLEANDIRS := $(subst /,\,$(CLEANDIRS))
|
CLEANDIRS := $(subst /,\,$(CLEANDIRS))
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# CONFIGURED_APPS is the application directories that should be built in
|
# CONFIGURED_APPS is the application directories that should be built in
|
||||||
@ -44,7 +44,7 @@ endif
|
|||||||
CONFIGURED_APPS :=
|
CONFIGURED_APPS :=
|
||||||
|
|
||||||
define Add_Application
|
define Add_Application
|
||||||
include $(1)Make.defs
|
include $(1)Make.defs
|
||||||
endef
|
endef
|
||||||
|
|
||||||
$(foreach BDIR, $(BUILDIRS), $(eval $(call Add_Application,$(BDIR))))
|
$(foreach BDIR, $(BUILDIRS), $(eval $(call Add_Application,$(BDIR))))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user