Skip to content
Snippets Groups Projects
Commit 7ce90ef7 authored by Gregory Nutt's avatar Gregory Nutt
Browse files

arch/arm/src/Makefile: dependency directory list is now computed from the...

arch/arm/src/Makefile: dependency directory list is now computed from the VPATH.  From Richard Cochran
parent 85dea130
No related branches found
No related tags found
No related merge requests found
......@@ -6484,7 +6484,7 @@
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 (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
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
......@@ -6498,3 +6498,5 @@
* tools/Config.mk: 'cypath' must be called if we are using a Windows
native toolchain with the Cygwin 'make' to convert paths to proper
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}"
GCC_LIBDIR := ${shell dirname $(LIBGCC)}
VPATH = chip:common:$(ARCH_SUBDIR)
VPATH += chip
VPATH += common
VPATH += $(ARCH_SUBDIR)
all: $(HEAD_OBJ) $(BIN)
......@@ -202,7 +204,7 @@ endif
ifeq ($(BOARDMAKE),y)
$(Q) $(MAKE) -C board TOPDIR="$(TOPDIR)" depend
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
$(Q) touch $@
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment