Simple window natives OS test build now works; Probabaly more to do for other configs; clean targets still have problems

git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5355 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
patacongo
2012-11-14 20:59:36 +00:00
parent 2afceac487
commit 5bba2c1508
15 changed files with 129 additions and 91 deletions
+2 -8
View File
@@ -457,8 +457,8 @@ clean_context:
# configuration files have been installed and that NuttX is ready to be built.
check_context:
if not exist $(TOPDIR)\.config echo "$(TOPDIR)\.config does not exist"
if not exist $(TOPDIR)\Make.defs echo "$(TOPDIR)\Make.defs does not exist"
$(Q) if not exist $(TOPDIR)\.config echo "$(TOPDIR)\.config does not exist"
$(Q) if not exist $(TOPDIR)\Make.defs echo "$(TOPDIR)\Make.defs does not exist"
# Archive targets. The target build sequency will first create a series of
# libraries, one per configured source file directory. The final NuttX
@@ -594,15 +594,9 @@ pass2deps: pass2dep $(NUTTXLIBS)
pass2: pass2deps
$(Q) $(MAKE) -C $(ARCH_SRC) TOPDIR="$(TOPDIR)" EXTRA_OBJS="$(EXTRA_OBJS)" LINKLIBS="$(LINKLIBS)" EXTRADEFINES=$(KDEFINE) $(BIN)
$(Q) if [ -w \tftpboot ] ; then \
cp -f $(BIN) \tftpboot\$(BIN).${CONFIG_ARCH}; \
fi
ifeq ($(CONFIG_RRLOAD_BINARY),y)
@echo "MK: $(BIN).rr"
$(Q) $(TOPDIR)\tools\mkimage.sh --Prefix $(CROSSDEV) $(BIN) $(BIN).rr
$(Q) if [ -w \tftpboot ] ; then \
cp -f $(BIN).rr \tftpboot\$\(BIN).rr.$(CONFIG_ARCH); \
fi
endif
ifeq ($(CONFIG_INTELHEX_BINARY),y)
@echo "CP: $(BIN).hex"