summaryrefslogtreecommitdiff
path: root/nuttx/Makefile
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2007-02-28 23:45:56 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2007-02-28 23:45:56 +0000
commit129dd27cc4deb042d2f88c65927adc49c338756d (patch)
tree265b6617c9f2281815f2c2120a571fb98ce7c883 /nuttx/Makefile
parentcbade4e74a17aa881e8031b6785657d7166dd819 (diff)
downloadnuttx-129dd27cc4deb042d2f88c65927adc49c338756d.tar.gz
nuttx-129dd27cc4deb042d2f88c65927adc49c338756d.tar.bz2
nuttx-129dd27cc4deb042d2f88c65927adc49c338756d.zip
Still working toward clean 8051 link
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@25 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/Makefile')
-rw-r--r--nuttx/Makefile10
1 files changed, 3 insertions, 7 deletions
diff --git a/nuttx/Makefile b/nuttx/Makefile
index 19ff2478a..ba0441886 100644
--- a/nuttx/Makefile
+++ b/nuttx/Makefile
@@ -42,12 +42,11 @@ ARCH_SRC = $(ARCH_DIR)/src
SUBDIRS = sched lib $(ARCH_SRC) mm fs drivers examples/$(CONFIG_EXAMPLE)
-LINKOBJS = $(ARCH_SRC)/up_head$(OBJEXT)
LINKLIBS = sched/libsched$(LIBEXT) $(ARCH_SRC)/libarch$(LIBEXT) mm/libmm$(LIBEXT) \
fs/libfs$(LIBEXT) drivers/libdrivers$(LIBEXT) lib/liblib$(LIBEXT) \
examples/$(CONFIG_EXAMPLE)/lib$(CONFIG_EXAMPLE)$(LIBEXT)
-BIN = nuttx
+BIN = nuttx$(EXEEXT)
all: $(BIN)
.PHONY: clean context clean_context distclean
@@ -83,9 +82,6 @@ lib/liblib$(LIBEXT): context
$(ARCH_SRC)/libarch$(LIBEXT): context
$(MAKE) -C $(ARCH_SRC) TOPDIR=$(TOPDIR) libarch$(LIBEXT)
-$(ARCH_SRC)/up_head$(OBJEXT): context
- $(MAKE) -C $(ARCH_SRC) TOPDIR=$(TOPDIR) up_head$(OBJEXT)
-
mm/libmm$(LIBEXT): context
$(MAKE) -C mm TOPDIR=$(TOPDIR) libmm$(LIBEXT)
@@ -98,8 +94,8 @@ drivers/libdrivers$(LIBEXT): context
examples/$(CONFIG_EXAMPLE)/lib$(CONFIG_EXAMPLE)$(LIBEXT): context
$(MAKE) -C examples/$(CONFIG_EXAMPLE) TOPDIR=$(TOPDIR) lib$(CONFIG_EXAMPLE)$(LIBEXT)
-$(BIN): context depend $(LINKOBJS) $(LINKLIBS)
- $(MAKE) -C $(ARCH_SRC) TOPDIR=$(TOPDIR) LINKOBJS="$(LINKOBJS)" LINKLIBS="$(LINKLIBS)" $(BIN)
+$(BIN): context depend $(LINKLIBS)
+ $(MAKE) -C $(ARCH_SRC) TOPDIR=$(TOPDIR) LINKLIBS="$(LINKLIBS)" $(BIN)
depend:
@for dir in $(SUBDIRS) ; do \