mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-08-01 20:29:00 +00:00
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
4 changed files with 9 additions and 9 deletions
|
|
@ -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))))
|
||||
|
|
|
|||
2
Makefile
2
Makefile
|
|
@ -32,7 +32,7 @@ endif
|
|||
# use
|
||||
|
||||
ifeq ($(CONFIG_WINDOWS_NATIVE),y)
|
||||
export APPDIR = $(subst /,\,$(CURDIR))
|
||||
export APPDIR = $(subst /,\,$(CURDIR))
|
||||
endif
|
||||
|
||||
# Symbol table for loadable apps.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue