diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2008-06-01 13:27:17 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2008-06-01 13:27:17 +0000 |
commit | c9c13919234b384f7c077c0a858446666027d08f (patch) | |
tree | 194ae3940f2a53ebd9dd788560dc58f999cf3a6a /nuttx/arch/sim/src | |
parent | 860fb90211e137e188cce2a85a4791148c1b50b9 (diff) | |
download | px4-nuttx-c9c13919234b384f7c077c0a858446666027d08f.tar.gz px4-nuttx-c9c13919234b384f7c077c0a858446666027d08f.tar.bz2 px4-nuttx-c9c13919234b384f7c077c0a858446666027d08f.zip |
Fix dependency
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@760 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/arch/sim/src')
-rw-r--r-- | nuttx/arch/sim/src/Makefile | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/nuttx/arch/sim/src/Makefile b/nuttx/arch/sim/src/Makefile index 919058d93..f7f323754 100644 --- a/nuttx/arch/sim/src/Makefile +++ b/nuttx/arch/sim/src/Makefile @@ -82,7 +82,8 @@ $(COBJS) $(LINKOBJS): %$(OBJEXT): %.c $(call COMPILE, $<, $@) $(HOSTOBJS): %$(OBJEXT): %.c - $(CC) -c $(HOSTCFLAGS) $< -o $@ + @echo "CC: $<" + @$(CC) -c $(HOSTCFLAGS) $< -o $@ # The architecture-specific library libarch$(LIBEXT): $(NXOBJS) @@ -99,10 +100,10 @@ Linux-names.dat: nuttx-names.dat Cygwin-names.dat: nuttx-names.dat @cat $^ | sed -e "s/^/_/g" >$@ -nuttx.rel : $(HOSTOS)-names.dat $(LINKOBJS) +nuttx.rel : libarch$(LIBEXT) $(HOSTOS)-names.dat $(LINKOBJS) @echo "LD: nuttx.rel" @$(LD) -r $(LDFLAGS) $(LDPATHES) -o $@ $(LINKOBJS) --start-group $(LDLIBS) --end-group $(EXTRA_LIBS) - $(OBJCOPY) --redefine-syms=$(HOSTOS)-names.dat nuttx.rel + @$(OBJCOPY) --redefine-syms=$(HOSTOS)-names.dat $@ # Generate the final NuttX binary by linking the host-specific objects with the NuttX # specific objects (with munged names) |