1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2024-11-29 07:24:13 +01:00

Build: last patches for windoes, and output targets

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2586 ebee16cc-31ac-478f-84a7-5cbb03baadba
This commit is contained in:
sambas 2011-01-24 20:34:29 +00:00 committed by sambas
parent 1daabba5c1
commit eb6ebb93d2
4 changed files with 16 additions and 16 deletions

View File

@ -58,7 +58,7 @@ MODEL = MD
# Directory for output files (lst, obj, dep, elf, sym, map, hex, bin etc.)
OUTDIR = ..\..\..\build\flight\bootloaders\ahrs
OUTDIR = ../../../build/bootloaders/ahrs
# Target file name (without extension).
TARGET = AHRS_BL
@ -571,16 +571,16 @@ clean_list :
# Create output files directory
# all known MS Windows OS define the ComSpec environment variable
ifdef ComSpec
$(shell md $(OUTDIR) 2>NUL)
$(shell md $(subst /,\\,$(OUTDIR)) 2>NUL)
else
$(shell mkdir $(OUTDIR) 2>/dev/null)
$(shell mkdir -p $(OUTDIR) 2>/dev/null)
endif
# Include the dependency files.
ifdef ComSpec
-include $(shell md $(OUTDIR)\dep 2>NUL) $(wildcard $(OUTDIR)/dep/*)
-include $(shell md $(subst /,\\,$(OUTDIR))\dep 2>NUL) $(wildcard $(OUTDIR)/dep/*)
else
-include $(shell mkdir $(OUTDIR) 2>/dev/null) $(shell mkdir $(OUTDIR)/dep 2>/dev/null) $(wildcard $(OUTDIR)/dep/*)
-include $(shell mkdir -p $(OUTDIR) 2>/dev/null) $(shell mkdir $(OUTDIR)/dep 2>/dev/null) $(wildcard $(OUTDIR)/dep/*)
endif

View File

@ -73,7 +73,7 @@ BOOT_MODEL = $(MODEL)_NB
endif
# Directory for output files (lst, obj, dep, elf, sym, map, hex, bin etc.)
OUTDIR = ..\..\..\build\flight\bootloaders\openpilot
OUTDIR = ../../../build/bootloaders/openpilot
# Target file name (without extension).
TARGET = OpenPilot_BL
@ -669,16 +669,16 @@ clean_list :
# Create output files directory
# all known MS Windows OS define the ComSpec environment variable
ifdef ComSpec
$(shell md $(OUTDIR) 2>NUL)
$(shell md $(subst /,\\,$(OUTDIR)) 2>NUL)
else
$(shell mkdir $(OUTDIR) 2>/dev/null)
$(shell mkdir -p $(OUTDIR) 2>/dev/null)
endif
# Include the dependency files.
ifdef ComSpec
-include $(shell md $(OUTDIR)\dep 2>NUL) $(wildcard $(OUTDIR)/dep/*)
-include $(shell md $(subst /,\\,$(OUTDIR))\dep 2>NUL) $(wildcard $(OUTDIR)/dep/*)
else
-include $(shell mkdir $(OUTDIR) 2>/dev/null) $(shell mkdir $(OUTDIR)/dep 2>/dev/null) $(wildcard $(OUTDIR)/dep/*)
-include $(shell mkdir -p $(OUTDIR) 2>/dev/null) $(shell mkdir $(OUTDIR)/dep 2>/dev/null) $(wildcard $(OUTDIR)/dep/*)
endif

View File

@ -73,7 +73,7 @@ BOOT_MODEL = $(MODEL)_NB
endif
# Directory for output files (lst, obj, dep, elf, sym, map, hex, bin etc.)
OUTDIR = ..\..\..\build\flight\bootloaders\pipxtreme
OUTDIR = ../../../build/bootloaders/pipxtreme
# Target file name (without extension).
TARGET = PipXtreme_BL
@ -668,16 +668,16 @@ clean_list :
# Create output files directory
# all known MS Windows OS define the ComSpec environment variable
ifdef ComSpec
$(shell md $(OUTDIR) 2>NUL)
$(shell md $(subst /,\\,$(OUTDIR)) 2>NUL)
else
$(shell mkdir $(OUTDIR) 2>/dev/null)
$(shell mkdir -p $(OUTDIR) 2>/dev/null)
endif
# Include the dependency files.
ifdef ComSpec
-include $(shell md $(OUTDIR)\dep 2>NUL) $(wildcard $(OUTDIR)/dep/*)
-include $(shell md $(subst /,\\,$(OUTDIR))\dep 2>NUL) $(wildcard $(OUTDIR)/dep/*)
else
-include $(shell mkdir $(OUTDIR) 2>/dev/null) $(shell mkdir $(OUTDIR)/dep 2>/dev/null) $(wildcard $(OUTDIR)/dep/*)
-include $(shell mkdir -p $(OUTDIR) 2>/dev/null) $(shell mkdir $(OUTDIR)/dep 2>/dev/null) $(wildcard $(OUTDIR)/dep/*)
endif

View File

@ -72,7 +72,7 @@ BOOT_MODEL = $(MODEL)_NB
endif
# Directory for output files (lst, obj, dep, elf, sym, map, hex, bin etc.)
OUTDIR = ../../build/flight/pipxtreme
OUTDIR = ../../build/pipxtreme
# Target file name (without extension).
TARGET = PipXtreme