From 9176f6358c9c51b6bae59a4254a29dffac58915b Mon Sep 17 00:00:00 2001 From: patacongo Date: Sun, 3 Apr 2011 16:43:35 +0000 Subject: [PATCH] fix dependencies git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3458 42af7a65-404d-4744-a932-0658087f49c3 --- configs/sam3u-ek/README.txt | 8 +++++++- configs/sam3u-ek/kernel/Makefile | 2 -- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/configs/sam3u-ek/README.txt b/configs/sam3u-ek/README.txt index 2a10ddc70a..ba8c18dad2 100755 --- a/configs/sam3u-ek/README.txt +++ b/configs/sam3u-ek/README.txt @@ -324,7 +324,13 @@ must be is one of the following: are built separately. This build requires a special make command; not just 'make' but make with the following two arguments: - make pass1 pass2 + make pass1 pass2 + + This is required because in the normal case (just 'make'), make will + create all dependencies then execute the pass1 and pass2 targets. But + this example, pass2 depends on auto-generatd files produced during pass1. + This specall make command ('make pass1 pass2') will make the dependencies + separately for each pass. nsh: Configures the NuttShell (nsh) located at examples/nsh. The diff --git a/configs/sam3u-ek/kernel/Makefile b/configs/sam3u-ek/kernel/Makefile index 0bffda7c0c..dd3e1892c4 100755 --- a/configs/sam3u-ek/kernel/Makefile +++ b/configs/sam3u-ek/kernel/Makefile @@ -67,8 +67,6 @@ all: $(TOPDIR)/nuttx_user.elf $(TOPDIR)/User.map $(BOARD_INCLUDE)/user_map.h nuttx_user.elf: @echo "LD: nuttx_user.elf" - echo "USER_LDLIBS: $(USER_LDLIBS)" - echo "USER_LIBPATHS: $(USER_LIBPATHS)" @$(LD) -o $@ $(USER_LDFLAGS) $(USER_LIBPATHS) --start-group $(USER_LDLIBS) --end-group $(USER_LIBGCC) $(TOPDIR)/nuttx_user.elf: nuttx_user.elf