diff --git a/arch/mips/src/Makefile b/arch/mips/src/Makefile index cdbd2a8fb6..c280df80af 100644 --- a/arch/mips/src/Makefile +++ b/arch/mips/src/Makefile @@ -146,7 +146,7 @@ makedepfile: $(CSRCS:.c=.ddc) $(ASRCS:.S=.dds) ifeq ($(BOARDMAKE),y) $(Q) $(MAKE) -C board depend endif - $(Q) $(MAKE) makedepfile DEPPATH="--dep-path chip --dep-path common --dep-path $(ARCH_SUBDIR)" + $(Q) $(MAKE) makedepfile DEPPATH="--dep-path chip --dep-path common --dep-path $(ARCH_SUBDIR)" $(Q) touch $@ depend: .depend diff --git a/arch/misoc/src/Makefile b/arch/misoc/src/Makefile index d6e2eb5d76..88e3880377 100644 --- a/arch/misoc/src/Makefile +++ b/arch/misoc/src/Makefile @@ -149,7 +149,7 @@ makedepfile: $(CSRCS:.c=.ddc) $(ASRCS:.S=.dds) ifeq ($(BOARDMAKE),y) $(Q) $(MAKE) -C board depend endif - $(Q) $(MAKE) makedepfile DEPPATH="--dep-path chip --dep-path common --dep-path $(ARCH_SUBDIR)" + $(Q) $(MAKE) makedepfile DEPPATH="--dep-path chip --dep-path common --dep-path $(ARCH_SUBDIR)" $(Q) touch $@ depend: .depend diff --git a/arch/renesas/src/Makefile b/arch/renesas/src/Makefile index 8c62b8de7d..d2421d0df3 100644 --- a/arch/renesas/src/Makefile +++ b/arch/renesas/src/Makefile @@ -157,7 +157,7 @@ makedepfile: $(CSRCS:.c=.ddc) $(ASRCS:.S=.dds) ifeq ($(BOARDMAKE),y) $(Q) $(MAKE) -C board depend endif - $(Q) $(MAKE) makedepfile DEPPATH="--dep-path chip --dep-path common" + $(Q) $(MAKE) makedepfile DEPPATH="--dep-path chip --dep-path common" $(Q) touch $@ depend: .depend diff --git a/arch/sim/src/Makefile b/arch/sim/src/Makefile index 611f09a2b2..9f9fa87bba 100644 --- a/arch/sim/src/Makefile +++ b/arch/sim/src/Makefile @@ -199,7 +199,7 @@ endif ifeq ($(CONFIG_SIM_HCISOCKET),y) HOSTSRCS += up_hcisocket_host.c CSRCS += up_hcisocket.c -endif +endif ifeq ($(CONFIG_I2C_RESET),y) HOSTCFLAGS += -DCONFIG_I2C_RESET=1 diff --git a/arch/x86/src/Makefile b/arch/x86/src/Makefile index fa2cfd3998..036d769bc4 100644 --- a/arch/x86/src/Makefile +++ b/arch/x86/src/Makefile @@ -161,7 +161,7 @@ makedepfile: $(CSRCS:.c=.ddc) $(ASRCS:.S=.dds) ifeq ($(BOARDMAKE),y) $(Q) $(MAKE) -C board depend endif - $(Q) $(MAKE) makedepfile DEPPATH="--dep-path chip --dep-path common --dep-path $(ARCH_SUBDIR)" + $(Q) $(MAKE) makedepfile DEPPATH="--dep-path chip --dep-path common --dep-path $(ARCH_SUBDIR)" $(Q) touch $@ depend: .depend diff --git a/arch/x86_64/src/Makefile b/arch/x86_64/src/Makefile index dac9743322..db2050ed5f 100644 --- a/arch/x86_64/src/Makefile +++ b/arch/x86_64/src/Makefile @@ -156,7 +156,7 @@ makedepfile: $(CSRCS:.c=.ddc) $(ASRCS:.S=.dds) ifeq ($(BOARDMAKE),y) $(Q) $(MAKE) -C board depend endif - $(Q) $(MAKE) makedepfile DEPPATH="--dep-path chip --dep-path common --dep-path $(ARCH_SUBDIR)" + $(Q) $(MAKE) makedepfile DEPPATH="--dep-path chip --dep-path common --dep-path $(ARCH_SUBDIR)" $(Q) touch $@ depend: .depend diff --git a/arch/xtensa/src/Makefile b/arch/xtensa/src/Makefile index 31a454457b..247d9e7581 100644 --- a/arch/xtensa/src/Makefile +++ b/arch/xtensa/src/Makefile @@ -147,7 +147,7 @@ makedepfile: $(CSRCS:.c=.ddc) $(ASRCS:.S=.dds) ifeq ($(BOARDMAKE),y) $(Q) $(MAKE) -C board depend endif - $(Q) $(MAKE) makedepfile DEPPATH="--dep-path chip --dep-path common --dep-path $(ARCH_SUBDIR)" + $(Q) $(MAKE) makedepfile DEPPATH="--dep-path chip --dep-path common --dep-path $(ARCH_SUBDIR)" $(Q) touch $@ depend: .depend diff --git a/arch/z80/src/Makefile.zdsiil b/arch/z80/src/Makefile.zdsiil index 1b47539c72..668aa15747 100644 --- a/arch/z80/src/Makefile.zdsiil +++ b/arch/z80/src/Makefile.zdsiil @@ -50,7 +50,7 @@ WARCHCMNDIR = ${shell cygpath -w $(ARCHCMDDIR)} USRINCLUDES = -usrinc:'$(WSCHEDSRCDIR);$(WARCHCHIPDIR);$(WARCHCMNDIR)' INCLUDES = $(ARCHSTDINCLUDES) $(USRINCLUDES) -CFLAGS := $(ARCHWARNINGS) $(ARCHOPTIMIZATION) $(ARCHCPUFLAGS) $(INCLUDES) $(ARCHDEFINES) +CFLAGS := $(ARCHWARNINGS) $(ARCHOPTIMIZATION) $(ARCHCPUFLAGS) $(INCLUDES) $(ARCHDEFINES) CPPFLAGS += -I$(ARCHSRCDIR) -I$(ZDSSTDINCDIR) -I$(ZDSZILOGINCDIR) LDFLAGS += @nuttx.linkcmd diff --git a/audio/Makefile b/audio/Makefile index a8c782938e..c679adeb67 100644 --- a/audio/Makefile +++ b/audio/Makefile @@ -68,7 +68,7 @@ $(COBJS): %$(OBJEXT): %.c $(BIN): $(OBJS) $(call ARCHIVE, $@, $(OBJS)) - + makedepfile: $(CSRCS:.c=.ddc) $(ASRCS:.S=.dds) $(call CATFILE, Make.dep, $^) $(call DELFILE, $^) diff --git a/binfmt/Makefile b/binfmt/Makefile index fd5299536b..ed25a9e87b 100644 --- a/binfmt/Makefile +++ b/binfmt/Makefile @@ -80,7 +80,7 @@ $(BINFMT_COBJS): %$(OBJEXT): %.c $(BIN): $(BINFMT_OBJS) $(call ARCHIVE, $@, $(BINFMT_OBJS)) - + makedepfile: $(BINFMT_CSRCS:.c=.ddc) $(BINFMT_ASRCS:.S=.dds) $(call CATFILE, Make.dep, $^) $(call DELFILE, $^) diff --git a/boards/Makefile b/boards/Makefile index 8169ebdbcd..d272093444 100644 --- a/boards/Makefile +++ b/boards/Makefile @@ -98,7 +98,7 @@ $(CXXOBJS): %$(OBJEXT): %.cxx $(BIN): $(OBJS) $(call ARCHIVE, $@, $(OBJS)) - + makedepfile: $(CSRCS:.c=.ddc) $(ASRCS:.S=.dds) $(CXXSRCS:.cxx=.ddx) $(call CATFILE, Make.dep, $^) $(call DELFILE, $^) diff --git a/boards/renesas/rx65n/rx65n-rsk2mb/src/Makefile b/boards/renesas/rx65n/rx65n-rsk2mb/src/Makefile index 5ef1468408..c463332df2 100644 --- a/boards/renesas/rx65n/rx65n-rsk2mb/src/Makefile +++ b/boards/renesas/rx65n/rx65n-rsk2mb/src/Makefile @@ -7,15 +7,15 @@ # ASF licenses this file to you under the Apache License, Version 2.0 (the # "License"); you may not use this file except in compliance with the # License. You may obtain a copy of the License at -# +# # http://www.apache.org/licenses/LICENSE-2.0 -# +# # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the # License for the specific language governing permissions and limitations # under the License. -# +# ############################################################################ include $(TOPDIR)/Make.defs diff --git a/crypto/Makefile b/crypto/Makefile index 68eb31a384..a9112a4359 100644 --- a/crypto/Makefile +++ b/crypto/Makefile @@ -89,7 +89,7 @@ $(COBJS): %$(OBJEXT): %.c $(BIN): $(OBJS) $(call ARCHIVE, $@, $(OBJS)) - + makedepfile: $(CSRCS:.c=.ddc) $(ASRCS:.S=.dds) $(call CATFILE, Make.dep, $^) $(call DELFILE, $^) diff --git a/drivers/Makefile b/drivers/Makefile index 1c1139d8ad..d58a78b8ff 100644 --- a/drivers/Makefile +++ b/drivers/Makefile @@ -119,7 +119,7 @@ $(COBJS): %$(OBJEXT): %.c $(BIN): $(OBJS) $(call ARCHIVE, $@, $(OBJS)) - + makedepfile: $(CSRCS:.c=.ddc) $(ASRCS:.S=.dds) $(call CATFILE, Make.dep, $^) $(call DELFILE, $^) diff --git a/fs/Makefile b/fs/Makefile index 6d7717ada5..815088b811 100644 --- a/fs/Makefile +++ b/fs/Makefile @@ -97,7 +97,7 @@ $(BIN): $(OBJS) $(call ARCHIVE, $@, $(OBJS)) context:: - + makedepfile: $(CSRCS:.c=.ddc) $(ASRCS:.S=.dds) $(call CATFILE, Make.dep, $^) $(call DELFILE, $^) diff --git a/libs/libc/Makefile b/libs/libc/Makefile index 8371b11520..dcb415ad7f 100644 --- a/libs/libc/Makefile +++ b/libs/libc/Makefile @@ -159,7 +159,7 @@ endif makedepfile: $(CSRCS:.c=.ddc) $(ASRCS:.S=.dds) $(call CATFILE, bin/Make.dep, $^) $(call DELFILE, $^) - + makekdepfile: $(CSRCS:.c=.ddc) $(ASRCS:.S=.dds) $(call CATFILE, kbin/Make.dep, $^) $(call DELFILE, $^) diff --git a/libs/libc/bin/Makefile b/libs/libc/bin/Makefile index dedc963fb0..ffccef3b48 100644 --- a/libs/libc/bin/Makefile +++ b/libs/libc/bin/Makefile @@ -37,7 +37,7 @@ include $(TOPDIR)/Make.defs all: .PHONY: clean distclean - + # Clean Targets: clean: diff --git a/libs/libdsp/Makefile b/libs/libdsp/Makefile index 6d1ed1a88a..29c9b95e82 100644 --- a/libs/libdsp/Makefile +++ b/libs/libdsp/Makefile @@ -49,7 +49,7 @@ $(COBJS): %$(OBJEXT): %.c $(BIN): $(OBJS) $(call ARCHIVE, $@, $(OBJS)) - + makedepfile: $(CSRCS:.c=.ddc) $(ASRCS:.S=.dds) $(call CATFILE, Make.dep, $^) $(call DELFILE, $^) diff --git a/libs/libnx/Makefile b/libs/libnx/Makefile index 2408eee6ab..ff83529831 100644 --- a/libs/libnx/Makefile +++ b/libs/libnx/Makefile @@ -238,7 +238,7 @@ endif makedepfile: $(CSRCS:.c=.ddc) $(ASRCS:.S=.dds) $(call CATFILE, bin/Make.dep, $^) $(call DELFILE, $^) - + makekdepfile: $(CSRCS:.c=.ddc) $(ASRCS:.S=.dds) $(call CATFILE, kbin/Make.dep, $^) $(call DELFILE, $^) diff --git a/libs/libnx/kbin/Makefile b/libs/libnx/kbin/Makefile index dd4e30e3c5..e3475231f9 100644 --- a/libs/libnx/kbin/Makefile +++ b/libs/libnx/kbin/Makefile @@ -37,7 +37,7 @@ include $(TOPDIR)/Make.defs all: .PHONY: clean distclean - + # Clean Targets: clean: diff --git a/mm/Makefile b/mm/Makefile index a2b6cb57af..81b6c900ba 100644 --- a/mm/Makefile +++ b/mm/Makefile @@ -85,13 +85,13 @@ endif makedepfile: $(CSRCS:.c=.ddc) $(ASRCS:.S=.dds) $(call CATFILE, bin/Make.dep, $^) $(call DELFILE, $^) - + makekdepfile: $(CSRCS:.c=.ddc) $(ASRCS:.S=.dds) $(call CATFILE, kbin/Make.dep, $^) $(call DELFILE, $^) .depend: Makefile $(SRCS) $(TOPDIR)$(DELIM).config - $(Q) $(MAKE) makedepfile + $(Q) $(MAKE) makedepfile ifneq ($(CONFIG_BUILD_FLAT),y) $(Q) $(MAKE) makekdepfile CFLAGS="$(CFLAGS) $(KDEFINE)" endif diff --git a/net/Makefile b/net/Makefile index 7cf01a1ad9..94d92a2f87 100644 --- a/net/Makefile +++ b/net/Makefile @@ -91,7 +91,7 @@ $(COBJS): %$(OBJEXT): %.c $(BIN): $(OBJS) $(call ARCHIVE, $@, $(OBJS)) - + makedepfile: $(CSRCS:.c=.ddc) $(ASRCS:.S=.dds) $(call CATFILE, Make.dep, $^) $(call DELFILE, $^) diff --git a/pass1/Makefile b/pass1/Makefile index d9a9029431..a79186290a 100644 --- a/pass1/Makefile +++ b/pass1/Makefile @@ -57,7 +57,7 @@ $(COBJS): %$(OBJEXT): %.c $(BIN): $(OBJS) $(call ARCHIVE, $@, $(OBJS)) - + makedepfile: $(CSRCS:.c=.ddc) $(ASRCS:.S=.dds) $(call CATFILE, Make.dep, $^) $(call DELFILE, $^) diff --git a/sched/Makefile b/sched/Makefile index fb3bd8deb5..9f7c7ca477 100644 --- a/sched/Makefile +++ b/sched/Makefile @@ -58,7 +58,7 @@ $(COBJS): %$(OBJEXT): %.c $(BIN): $(OBJS) $(call ARCHIVE, $@, $(OBJS)) - + makedepfile: $(CSRCS:.c=.ddc) $(ASRCS:.S=.dds) $(call CATFILE, Make.dep, $^) $(call DELFILE, $^) diff --git a/tools/Makefile.unix b/tools/Makefile.unix index 58d80df9d8..b9a79fefd3 100644 --- a/tools/Makefile.unix +++ b/tools/Makefile.unix @@ -327,10 +327,10 @@ endif $(Q) touch $@ dirlinks: include/arch include/arch/board include/arch/chip $(ARCH_SRC)/board $(ARCH_SRC)/chip drivers/platform - $(Q) $(MAKE) -C libs/libxx dirlinks - $(Q) $(MAKE) -C boards dirlinks + $(Q) $(MAKE) -C libs/libxx dirlinks + $(Q) $(MAKE) -C boards dirlinks $(Q) $(MAKE) -C openamp dirlinks - $(Q) $(MAKE) -C $(CONFIG_APPS_DIR) dirlinks + $(Q) $(MAKE) -C $(CONFIG_APPS_DIR) dirlinks # context # diff --git a/tools/Makefile.win b/tools/Makefile.win index 0369c62670..6c5fb11761 100644 --- a/tools/Makefile.win +++ b/tools/Makefile.win @@ -306,8 +306,8 @@ endif $(Q) touch $@ dirlinks: include\arch include\arch\board include\arch\chip $(ARCH_SRC)\board $(ARCH_SRC)\chip drivers\platform - $(Q) $(MAKE) -C libs/libxx dirlinks - $(Q) $(MAKE) -C boards dirlinks + $(Q) $(MAKE) -C libs/libxx dirlinks + $(Q) $(MAKE) -C boards dirlinks $(Q) $(MAKE) -C openamp dirlinks $(Q) $(MAKE) -C $(CONFIG_APPS_DIR) dirlinks diff --git a/video/Makefile b/video/Makefile index 87752291db..92f91aebdb 100644 --- a/video/Makefile +++ b/video/Makefile @@ -55,7 +55,7 @@ $(COBJS): %$(OBJEXT): %.c $(BIN): $(OBJS) $(call ARCHIVE, $@, $(OBJS)) - + makedepfile: $(CSRCS:.c=.ddc) $(ASRCS:.S=.dds) $(call CATFILE, Make.dep, $^) $(call DELFILE, $^) diff --git a/wireless/Makefile b/wireless/Makefile index b2c46fa635..66d8fb5b15 100644 --- a/wireless/Makefile +++ b/wireless/Makefile @@ -60,7 +60,7 @@ $(COBJS): %$(OBJEXT): %.c $(BIN): $(OBJS) $(call ARCHIVE, $@, $(OBJS)) - + makedepfile: $(CSRCS:.c=.ddc) $(ASRCS:.S=.dds) $(call CATFILE, Make.dep, $^) $(call DELFILE, $^)