mirror of
https://github.com/apache/nuttx.git
synced 2026-05-31 23:40:19 +08:00
arch/arm/src/Makefile: dependency directory list is now computed from the VPATH. From Richard Cochran
This commit is contained in:
@@ -6484,7 +6484,7 @@
|
|||||||
ostest/Make.defs: Add a configuration option to select the -m32
|
ostest/Make.defs: Add a configuration option to select the -m32
|
||||||
compiler option when building for a 32-bit target on a native 64-bit
|
compiler option when building for a 32-bit target on a native 64-bit
|
||||||
compiler (2014-1-18).
|
compiler (2014-1-18).
|
||||||
* include/ctype.h: Typo in macro name: iscntrol, not iscontrol (2104-1-17)
|
* include/ctype.h: Typo in macro name: iscntrl, not iscontrol (2104-1-17)
|
||||||
* libc/unistd/lib_getopt.c: If there are no arguments (argc == 1), then
|
* libc/unistd/lib_getopt.c: If there are no arguments (argc == 1), then
|
||||||
getopt() make like the optind variable in an undefined state (2014-1-20).
|
getopt() make like the optind variable in an undefined state (2014-1-20).
|
||||||
* configs/olimex-stm32-p107: Failes to build is SPI3 for UEXT is not
|
* configs/olimex-stm32-p107: Failes to build is SPI3 for UEXT is not
|
||||||
@@ -6498,3 +6498,5 @@
|
|||||||
* tools/Config.mk: 'cypath' must be called if we are using a Windows
|
* tools/Config.mk: 'cypath' must be called if we are using a Windows
|
||||||
native toolchain with the Cygwin 'make' to convert paths to proper
|
native toolchain with the Cygwin 'make' to convert paths to proper
|
||||||
Windows paths. From Richard Cochran (2014-1-23).
|
Windows paths. From Richard Cochran (2014-1-23).
|
||||||
|
* /arch/arm/src/Makefile: dependency directory list is not computed
|
||||||
|
from the VPATH. From Richard Cochran (2014-1-23).
|
||||||
|
|||||||
@@ -150,7 +150,9 @@ endif
|
|||||||
LIBGCC = "${shell "$(CC)" $(ARCHCPUFLAGS) -print-libgcc-file-name}"
|
LIBGCC = "${shell "$(CC)" $(ARCHCPUFLAGS) -print-libgcc-file-name}"
|
||||||
GCC_LIBDIR := ${shell dirname $(LIBGCC)}
|
GCC_LIBDIR := ${shell dirname $(LIBGCC)}
|
||||||
|
|
||||||
VPATH = chip:common:$(ARCH_SUBDIR)
|
VPATH += chip
|
||||||
|
VPATH += common
|
||||||
|
VPATH += $(ARCH_SUBDIR)
|
||||||
|
|
||||||
all: $(HEAD_OBJ) $(BIN)
|
all: $(HEAD_OBJ) $(BIN)
|
||||||
|
|
||||||
@@ -202,7 +204,7 @@ endif
|
|||||||
ifeq ($(BOARDMAKE),y)
|
ifeq ($(BOARDMAKE),y)
|
||||||
$(Q) $(MAKE) -C board TOPDIR="$(TOPDIR)" depend
|
$(Q) $(MAKE) -C board TOPDIR="$(TOPDIR)" depend
|
||||||
endif
|
endif
|
||||||
$(Q) $(MKDEP) --dep-path chip --dep-path common --dep-path $(ARCH_SUBDIR) \
|
$(Q) $(MKDEP) $(patsubst %,--dep-path %,$(subst :, ,$(VPATH))) \
|
||||||
"$(CC)" -- $(CFLAGS) -- $(SRCS) >Make.dep
|
"$(CC)" -- $(CFLAGS) -- $(SRCS) >Make.dep
|
||||||
$(Q) touch $@
|
$(Q) touch $@
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user