Mostly cosmetic changes

git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5344 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
patacongo
2012-11-13 15:50:38 +00:00
parent ccc5929f33
commit b74772ee54
43 changed files with 74 additions and 131 deletions
+10 -2
View File
@@ -45,22 +45,30 @@ choice
config WINDOWS_NATIVE config WINDOWS_NATIVE
bool "Windows Native" bool "Windows Native"
---help---
Build natively in a CMD.exe environment with Windows style paths (like C:\cgywin\home)
config WINDOWS_CYGWIN config WINDOWS_CYGWIN
bool "Cygwin" bool "Cygwin"
- --help---
Build natively in a Cygwin environment with POSIX style paths (like /cygdrive/c/cgywin/home)
config WINDOWS_MSYS config WINDOWS_MSYS
bool "MSYS" bool "MSYS"
---help---
Build natively in a Cygwin environment with POSIX style paths (like /cygdrive/c/cgywin/home)
config WINDOWS_OTHER config WINDOWS_OTHER
bool "Other POSIX-like environment" bool "Windows POSIX-like environment"
---help---
Build natively in another POSIX-like environment. Additional support may be necessary
endchoice endchoice
config WINDOWS_MKLINK config WINDOWS_MKLINK
bool "Use mklink" bool "Use mklink"
default y default y
depends on HOST_WINDOWS depends on WINDOWS_NATIVE
---help--- ---help---
Use the mklink command to set up symbolic links when NuttX is Use the mklink command to set up symbolic links when NuttX is
configured. Otherwise, configuration directories will be copied to configured. Otherwise, configuration directories will be copied to
+7 -2
View File
@@ -28,20 +28,25 @@ config ARCH_CHIP_LM3S8962
endchoice endchoice
choice choice
prompt "Toolchain" prompt "Toolchain Selection"
default LM3S_BUILDROOT default LM3S_BUILDROOT if !HOST_WINDOWS
default LM3S_CODESOURCERYW if HOST_WINDOWS
config LM3S_CODESOURCERYW config LM3S_CODESOURCERYW
bool "CodeSourcery GNU toolchain under Windows" bool "CodeSourcery GNU toolchain under Windows"
depends on HOST_WINDOWS
config LM3S_CODESOURCERYL config LM3S_CODESOURCERYL
bool "CodeSourcery GNU toolchain under Linux" bool "CodeSourcery GNU toolchain under Linux"
depends on HOST_LINUX
config LM3S_DEVKITARM config LM3S_DEVKITARM
bool "devkitARM GNU toolchain" bool "devkitARM GNU toolchain"
depends on HOST_WINDOWS
config LM3S_BUILDROOT config LM3S_BUILDROOT
bool "Buildroot" bool "Buildroot"
depends on !WINDOWS_NATIVE
endchoice endchoice
+12 -5
View File
@@ -58,26 +58,33 @@ config ARCH_FAMILY_LPC176X
choice choice
prompt "Toolchain Selection" prompt "Toolchain Selection"
default LPC17_CODESOURCERYW default LPC17_BUILDROOT if !HOST_WINDOWS
default LPC17_CODESOURCERYW if HOST_WINDOWS
depends on ARCH_CHIP_LPC17XX depends on ARCH_CHIP_LPC17XX
config LPC17_CODESOURCERYW config LPC17_CODESOURCERYW
bool "CodeSourcery for Windows" bool "CodeSourcery GNU toolchain under Windows"
depends on HOST_WINDOWS
config LPC17_CODESOURCERYL config LPC17_CODESOURCERYL
bool "CodeSourcery for Linux" bool "CodeSourcery GNU toolchain under Linux"
depends on HOST_LINUX
config LPC17_DEVKITARM config LPC17_DEVKITARM
bool "DevkitARM (Windows)" bool "devkitARM GNU toolchain"
depends on HOST_WINDOWS
config LPC17_BUILDROOT config LPC17_BUILDROOT
bool "NuttX buildroot (Cygwin or Linux)" bool "Buildroot"
depends on !WINDOWS_NATIVE
config LPC17_CODEREDW config LPC17_CODEREDW
bool "CodeRed for Windows" bool "CodeRed for Windows"
depends on HOST_WINDOWS
config LPC17_CODEREDL config LPC17_CODEREDL
bool "CodeRed for Windows" bool "CodeRed for Windows"
depends on HOST_LINUX
endchoice endchoice
+10 -5
View File
@@ -26,20 +26,25 @@ endchoice
choice choice
prompt "Toolchain Selection" prompt "Toolchain Selection"
default LPC31_CODESOURCERYW default LPC31_BUILDROOT if !HOST_WINDOWS
default LPC31_CODESOURCERYW if HOST_WINDOWS
depends on ARCH_CHIP_LPC31XX depends on ARCH_CHIP_LPC31XX
config LPC31_CODESOURCERYW config LPC31_CODESOURCERYW
bool "CodeSourcery for Windows" bool "CodeSourcery GNU toolchain under Windows"
depends on HOST_WINDOWS
config LPC31_CODESOURCERYL config LPC31_CODESOURCERYL
bool "CodeSourcery for Linux" bool "CodeSourcery GNU toolchain under Linux"
depends on HOST_LINUX
config LPC31_DEVKITARM config LPC31_DEVKITARM
bool "DevkitARM (Windows)" bool "devkitARM GNU toolchain"
depends on HOST_WINDOWS
config LPC31_BUILDROOT config LPC31_BUILDROOT
bool "NuttX buildroot (Cygwin or Linux)" bool "Buildroot"
depends on !WINDOWS_NATIVE
endchoice endchoice
+13 -5
View File
@@ -195,29 +195,37 @@ config STM32_STM32F40XX
choice choice
prompt "Toolchain Selection" prompt "Toolchain Selection"
default STM32_CODESOURCERYW default LPC31_BUILDROOT if !HOST_WINDOWS
default STM32_CODESOURCERYW if HOST_WINDOWS
depends on ARCH_CHIP_STM32 depends on ARCH_CHIP_STM32
config STM32_CODESOURCERYW config STM32_CODESOURCERYW
bool "CodeSourcery for Windows" bool "CodeSourcery GNU toolchain under Windows"
depends on HOST_WINDOWS
config STM32_CODESOURCERYL config STM32_CODESOURCERYL
bool "CodeSourcery for Linux" bool "CodeSourcery GNU toolchain under Linux"
depends on HOST_LINUX
config STM32_ATOLLIC_LITE config STM32_ATOLLIC_LITE
bool "Atollic Lite for Windows" bool "Atollic Lite for Windows"
depends on HOST_WINDOWS
config STM32_ATOLLIC_PRO config STM32_ATOLLIC_PRO
bool "Atollic Pro for Windows" bool "Atollic Pro for Windows"
depends on HOST_WINDOWS
config STM32_DEVKITARM config STM32_DEVKITARM
bool "DevkitARM (Windows)" bool "devkitARM GNU toolchain"
depends on HOST_WINDOWS
config STM32_RAISONANCE config STM32_RAISONANCE
bool "STMicro Raisonance for Windows" bool "STMicro Raisonance for Windows"
depends on HOST_WINDOWS
config STM32_BUILDROOT config STM32_BUILDROOT
bool "NuttX buildroot (Cygwin or Linux)" bool "Buildroot (Cygwin or Linux)"
depends on !WINDOWS_NATIVE
endchoice endchoice
-3
View File
@@ -77,9 +77,6 @@ GNU Toolchain Options
because the dependencies are generated using Windows pathes which do not because the dependencies are generated using Windows pathes which do not
work with the Cygwin make. work with the Cygwin make.
Support has been added for making dependencies with the windows-native toolchains.
That support can be enabled by modifying your Make.defs file as follows:
MKDEP = $(TOPDIR)/tools/mknulldeps.sh MKDEP = $(TOPDIR)/tools/mknulldeps.sh
NOTE 1: The CodeSourcery toolchain (2009q1) does not work with default optimization NOTE 1: The CodeSourcery toolchain (2009q1) does not work with default optimization
-3
View File
@@ -66,9 +66,6 @@ GNU Toolchain Options
because the dependencies are generated using Windows pathes which do not because the dependencies are generated using Windows pathes which do not
work with the Cygwin make. work with the Cygwin make.
Support has been added for making dependencies with the CodeSourcery toolchain.
That support can be enabled by modifying your Make.defs file as follows:
MKDEP = $(TOPDIR)/tools/mknulldeps.sh MKDEP = $(TOPDIR)/tools/mknulldeps.sh
NOTE 1: The CodeSourcery toolchain (2009q1) does not work with default optimization NOTE 1: The CodeSourcery toolchain (2009q1) does not work with default optimization
-3
View File
@@ -136,9 +136,6 @@ GNU Toolchain Options
because the dependencies are generated using Windows pathes which do not because the dependencies are generated using Windows pathes which do not
work with the Cygwin make. work with the Cygwin make.
Support has been added for making dependencies with the windows-native toolchains.
That support can be enabled by modifying your Make.defs file as follows:
MKDEP = $(TOPDIR)/tools/mknulldeps.sh MKDEP = $(TOPDIR)/tools/mknulldeps.sh
NOTE 1: The CodeSourcery toolchain (2009q1) does not work with default optimization NOTE 1: The CodeSourcery toolchain (2009q1) does not work with default optimization
-3
View File
@@ -226,9 +226,6 @@ GNU Toolchain Options
because the dependencies are generated using Windows pathes which do not because the dependencies are generated using Windows pathes which do not
work with the Cygwin make. work with the Cygwin make.
Support has been added for making dependencies with the windows-native toolchains.
That support can be enabled by modifying your Make.defs file as follows:
MKDEP = $(TOPDIR)/tools/mknulldeps.sh MKDEP = $(TOPDIR)/tools/mknulldeps.sh
The CodeSourcery Toolchain (2009q1) The CodeSourcery Toolchain (2009q1)
-3
View File
@@ -80,9 +80,6 @@ GNU Toolchain Options
because the dependencies are generated using Windows pathes which do not because the dependencies are generated using Windows pathes which do not
work with the Cygwin make. work with the Cygwin make.
Support has been added for making dependencies with the windows-native toolchains.
That support can be enabled by modifying your Make.defs file as follows:
MKDEP = $(TOPDIR)/tools/mknulldeps.sh MKDEP = $(TOPDIR)/tools/mknulldeps.sh
NOTE 1: The CodeSourcery toolchain (2009q1) does not work with default optimization NOTE 1: The CodeSourcery toolchain (2009q1) does not work with default optimization
-3
View File
@@ -204,9 +204,6 @@ GNU Toolchain Options
because the dependencies are generated using Windows pathes which do not because the dependencies are generated using Windows pathes which do not
work with the Cygwin make. work with the Cygwin make.
Support has been added for making dependencies with the windows-native toolchains.
That support can be enabled by modifying your Make.defs file as follows:
MKDEP = $(TOPDIR)/tools/mknulldeps.sh MKDEP = $(TOPDIR)/tools/mknulldeps.sh
NOTE 1: The CodeSourcery toolchain (2009q1) does not work with default optimization NOTE 1: The CodeSourcery toolchain (2009q1) does not work with default optimization
-3
View File
@@ -104,9 +104,6 @@ GNU Toolchain Options
because the dependencies are generated using Windows pathes which do not because the dependencies are generated using Windows pathes which do not
work with the Cygwin make. work with the Cygwin make.
Support has been added for making dependencies with the windows-native toolchains.
That support can be enabled by modifying your Make.defs file as follows:
MKDEP = $(TOPDIR)/tools/mknulldeps.sh MKDEP = $(TOPDIR)/tools/mknulldeps.sh
NOTE 1: The CodeSourcery toolchain (2009q1) does not work with default optimization NOTE 1: The CodeSourcery toolchain (2009q1) does not work with default optimization
-3
View File
@@ -131,9 +131,6 @@ GNU Toolchain Options
because the dependencies are generated using Windows pathes which do not because the dependencies are generated using Windows pathes which do not
work with the Cygwin make. work with the Cygwin make.
Support has been added for making dependencies with the windows-native toolchains.
That support can be enabled by modifying your Make.defs file as follows:
MKDEP = $(TOPDIR)/tools/mknulldeps.sh MKDEP = $(TOPDIR)/tools/mknulldeps.sh
NOTE 1: The CodeSourcery toolchain (2009q1) does not work with default optimization NOTE 1: The CodeSourcery toolchain (2009q1) does not work with default optimization
-3
View File
@@ -160,9 +160,6 @@ GNU Toolchain Options
because the dependencies are generated using Windows pathes which do not because the dependencies are generated using Windows pathes which do not
work with the Cygwin make. work with the Cygwin make.
Support has been added for making dependencies with the windows-native toolchains.
That support can be enabled by modifying your Make.defs file as follows:
MKDEP = $(TOPDIR)/tools/mknulldeps.sh MKDEP = $(TOPDIR)/tools/mknulldeps.sh
NOTE 1: The CodeSourcery toolchain (2009q1) does not work with default optimization NOTE 1: The CodeSourcery toolchain (2009q1) does not work with default optimization
-3
View File
@@ -160,9 +160,6 @@ GNU Toolchain Options
because the dependencies are generated using Windows pathes which do not because the dependencies are generated using Windows pathes which do not
work with the Cygwin make. work with the Cygwin make.
Support has been added for making dependencies with the windows-native toolchains.
That support can be enabled by modifying your Make.defs file as follows:
MKDEP = $(TOPDIR)/tools/mknulldeps.sh MKDEP = $(TOPDIR)/tools/mknulldeps.sh
NOTE 1: The CodeSourcery toolchain (2009q1) does not work with default optimization NOTE 1: The CodeSourcery toolchain (2009q1) does not work with default optimization
-3
View File
@@ -185,9 +185,6 @@ GNU Toolchain Options
because the dependencies are generated using Windows pathes which do not because the dependencies are generated using Windows pathes which do not
work with the Cygwin make. work with the Cygwin make.
Support has been added for making dependencies with the windows-native toolchains.
That support can be enabled by modifying your Make.defs file as follows:
MKDEP = $(TOPDIR)/tools/mknulldeps.sh MKDEP = $(TOPDIR)/tools/mknulldeps.sh
The CodeSourcery Toolchain (2009q1) The CodeSourcery Toolchain (2009q1)
@@ -288,9 +288,6 @@ GNU Toolchain Options
because the dependencies are generated using Windows pathes which do not because the dependencies are generated using Windows pathes which do not
work with the Cygwin make. work with the Cygwin make.
Support has been added for making dependencies with the windows-native toolchains.
That support can be enabled by modifying your Make.defs file as follows:
MKDEP = $(TOPDIR)/tools/mknulldeps.sh MKDEP = $(TOPDIR)/tools/mknulldeps.sh
NOTE 1: The CodeSourcery toolchain (2009q1) does not work with default optimization NOTE 1: The CodeSourcery toolchain (2009q1) does not work with default optimization
-3
View File
@@ -74,9 +74,6 @@ GNU Toolchain Options
because the dependencies are generated using Windows pathes which do not because the dependencies are generated using Windows pathes which do not
work with the Cygwin make. work with the Cygwin make.
Support has been added for making dependencies with the windows-native toolchains.
That support can be enabled by modifying your Make.defs file as follows:
MKDEP = $(TOPDIR)/tools/mknulldeps.sh MKDEP = $(TOPDIR)/tools/mknulldeps.sh
NOTE 1: The CodeSourcery toolchain (2009q1) does not work with default optimization NOTE 1: The CodeSourcery toolchain (2009q1) does not work with default optimization
-3
View File
@@ -72,9 +72,6 @@ GNU Toolchain Options
because the dependencies are generated using Windows pathes which do not because the dependencies are generated using Windows pathes which do not
work with the Cygwin make. work with the Cygwin make.
Support has been added for making dependencies with the CodeSourcery toolchain.
That support can be enabled by modifying your Make.defs file as follows:
MKDEP = $(TOPDIR)/tools/mknulldeps.sh MKDEP = $(TOPDIR)/tools/mknulldeps.sh
NOTE 1: The CodeSourcery toolchain (2009q1) may not work with default optimization NOTE 1: The CodeSourcery toolchain (2009q1) may not work with default optimization
-4
View File
@@ -265,10 +265,6 @@ Windows Native Toolchains
is because the dependencies are generated using Windows pathes which do is because the dependencies are generated using Windows pathes which do
not work with the Cygwin make. not work with the Cygwin make.
Support has been added for making dependencies with the windows-native
toolchains. That support can be enabled by modifying your Make.defs
file as follows:
MKDEP = $(TOPDIR)/tools/mknulldeps.sh MKDEP = $(TOPDIR)/tools/mknulldeps.sh
An additional issue with the WinAVR toolchain, in particular, is that it An additional issue with the WinAVR toolchain, in particular, is that it
-3
View File
@@ -448,9 +448,6 @@ Toolchains
because the dependencies are generated using Windows pathes which do not because the dependencies are generated using Windows pathes which do not
work with the Cygwin make. work with the Cygwin make.
Support has been added for making dependencies with the windows-native toolchains.
That support can be enabled by modifying your Make.defs file as follows:
MKDEP = $(TOPDIR)/tools/mknulldeps.sh MKDEP = $(TOPDIR)/tools/mknulldeps.sh
Loading NuttX with ICD3 Loading NuttX with ICD3
-3
View File
@@ -96,9 +96,6 @@ GNU Toolchain Options
because the dependencies are generated using Windows pathes which do not because the dependencies are generated using Windows pathes which do not
work with the Cygwin make. work with the Cygwin make.
Support has been added for making dependencies with the windows-native toolchains.
That support can be enabled by modifying your Make.defs file as follows:
MKDEP = $(TOPDIR)/tools/mknulldeps.sh MKDEP = $(TOPDIR)/tools/mknulldeps.sh
NOTE 1: The CodeSourcery toolchain (2009q1) does not work with default optimization NOTE 1: The CodeSourcery toolchain (2009q1) does not work with default optimization
-3
View File
@@ -134,9 +134,6 @@ GNU Toolchain Options
because the dependencies are generated using Windows pathes which do not because the dependencies are generated using Windows pathes which do not
work with the Cygwin make. work with the Cygwin make.
Support has been added for making dependencies with the windows-native toolchains.
That support can be enabled by modifying your Make.defs file as follows:
MKDEP = $(TOPDIR)/tools/mknulldeps.sh MKDEP = $(TOPDIR)/tools/mknulldeps.sh
NOTE 1: The CodeSourcery toolchain (2009q1) does not work with default optimization NOTE 1: The CodeSourcery toolchain (2009q1) does not work with default optimization
@@ -222,9 +222,6 @@ GNU Toolchain Options
because the dependencies are generated using Windows pathes which do not because the dependencies are generated using Windows pathes which do not
work with the Cygwin make. work with the Cygwin make.
Support has been added for making dependencies with the windows-native toolchains.
That support can be enabled by modifying your Make.defs file as follows:
MKDEP = $(TOPDIR)/tools/mknulldeps.sh MKDEP = $(TOPDIR)/tools/mknulldeps.sh
NOTE 1: The CodeSourcery toolchain (2009q1) does not work with default optimization NOTE 1: The CodeSourcery toolchain (2009q1) does not work with default optimization
-3
View File
@@ -157,9 +157,6 @@ GNU Toolchain Options
because the dependencies are generated using Windows pathes which do not because the dependencies are generated using Windows pathes which do not
work with the Cygwin make. work with the Cygwin make.
Support has been added for making dependencies with the CodeSourcery toolchain.
That support can be enabled by modifying your Make.defs file as follows:
MKDEP = $(TOPDIR)/tools/mknulldeps.sh MKDEP = $(TOPDIR)/tools/mknulldeps.sh
NOTE 1: The CodeSourcery toolchain (2009q1) may not work with default optimization NOTE 1: The CodeSourcery toolchain (2009q1) may not work with default optimization
@@ -276,9 +276,6 @@ Toolchains
because the dependencies are generated using Windows pathes which do not because the dependencies are generated using Windows pathes which do not
work with the Cygwin make. work with the Cygwin make.
Support has been added for making dependencies with the windows-native toolchains.
That support can be enabled by modifying your Make.defs file as follows:
MKDEP = $(TOPDIR)/tools/mknulldeps.sh MKDEP = $(TOPDIR)/tools/mknulldeps.sh
Loading NuttX with PICkit2 Loading NuttX with PICkit2
@@ -493,9 +493,6 @@ Toolchains
because the dependencies are generated using Windows pathes which do not because the dependencies are generated using Windows pathes which do not
work with the Cygwin make. work with the Cygwin make.
Support has been added for making dependencies with the windows-native toolchains.
That support can be enabled by modifying your Make.defs file as follows:
MKDEP = $(TOPDIR)/tools/mknulldeps.sh MKDEP = $(TOPDIR)/tools/mknulldeps.sh
Powering the Board Powering the Board
-3
View File
@@ -261,9 +261,6 @@ Toolchains
because the dependencies are generated using Windows pathes which do not because the dependencies are generated using Windows pathes which do not
work with the Cygwin make. work with the Cygwin make.
Support has been added for making dependencies with the windows-native toolchains.
That support can be enabled by modifying your Make.defs file as follows:
MKDEP = $(TOPDIR)/tools/mknulldeps.sh MKDEP = $(TOPDIR)/tools/mknulldeps.sh
Powering the Board Powering the Board
-3
View File
@@ -75,9 +75,6 @@ GNU Toolchain Options
because the dependencies are generated using Windows pathes which do not because the dependencies are generated using Windows pathes which do not
work with the Cygwin make. work with the Cygwin make.
Support has been added for making dependencies with the windows-native toolchains.
That support can be enabled by modifying your Make.defs file as follows:
MKDEP = $(TOPDIR)/tools/mknulldeps.sh MKDEP = $(TOPDIR)/tools/mknulldeps.sh
NOTE 1: The CodeSourcery toolchain (2009q1) does not work with default optimization NOTE 1: The CodeSourcery toolchain (2009q1) does not work with default optimization
-3
View File
@@ -249,9 +249,6 @@ GNU Toolchain Options
because the dependencies are generated using Windows pathes which do not because the dependencies are generated using Windows pathes which do not
work with the Cygwin make. work with the Cygwin make.
Support has been added for making dependencies with the windows-native toolchains.
That support can be enabled by modifying your Make.defs file as follows:
MKDEP = $(TOPDIR)/tools/mknulldeps.sh MKDEP = $(TOPDIR)/tools/mknulldeps.sh
The CodeSourcery Toolchain (2009q1) The CodeSourcery Toolchain (2009q1)
-3
View File
@@ -83,9 +83,6 @@ GNU Toolchain Options
because the dependencies are generated using Windows pathes which do not because the dependencies are generated using Windows pathes which do not
work with the Cygwin make. work with the Cygwin make.
Support has been added for making dependencies with the windows-native toolchains.
That support can be enabled by modifying your Make.defs file as follows:
MKDEP = $(TOPDIR)/tools/mknulldeps.sh MKDEP = $(TOPDIR)/tools/mknulldeps.sh
NOTE 1: The CodeSourcery toolchain (2009q1) does not work with default optimization NOTE 1: The CodeSourcery toolchain (2009q1) does not work with default optimization
-3
View File
@@ -89,9 +89,6 @@ GNU Toolchain Options
because the dependencies are generated using Windows pathes which do not because the dependencies are generated using Windows pathes which do not
work with the Cygwin make. work with the Cygwin make.
Support has been added for making dependencies with the windows-native toolchains.
That support can be enabled by modifying your Make.defs file as follows:
MKDEP = $(TOPDIR)/tools/mknulldeps.sh MKDEP = $(TOPDIR)/tools/mknulldeps.sh
The CodeSourcery Toolchain (2009q1) The CodeSourcery Toolchain (2009q1)
-3
View File
@@ -91,9 +91,6 @@ GNU Toolchain Options
because the dependencies are generated using Windows pathes which do not because the dependencies are generated using Windows pathes which do not
work with the Cygwin make. work with the Cygwin make.
Support has been added for making dependencies with the windows-native toolchains.
That support can be enabled by modifying your Make.defs file as follows:
MKDEP = $(TOPDIR)/tools/mknulldeps.sh MKDEP = $(TOPDIR)/tools/mknulldeps.sh
The CodeSourcery Toolchain (2009q1) The CodeSourcery Toolchain (2009q1)
@@ -85,9 +85,6 @@ GNU Toolchain Options
because the dependencies are generated using Windows pathes which do not because the dependencies are generated using Windows pathes which do not
work with the Cygwin make. work with the Cygwin make.
Support has been added for making dependencies with the windows-native toolchains.
That support can be enabled by modifying your Make.defs file as follows:
MKDEP = $(TOPDIR)/tools/mknulldeps.sh MKDEP = $(TOPDIR)/tools/mknulldeps.sh
The CodeSourcery Toolchain (2009q1) The CodeSourcery Toolchain (2009q1)
@@ -89,9 +89,6 @@ GNU Toolchain Options
because the dependencies are generated using Windows pathes which do not because the dependencies are generated using Windows pathes which do not
work with the Cygwin make. work with the Cygwin make.
Support has been added for making dependencies with the windows-native toolchains.
That support can be enabled by modifying your Make.defs file as follows:
MKDEP = $(TOPDIR)/tools/mknulldeps.sh MKDEP = $(TOPDIR)/tools/mknulldeps.sh
The CodeSourcery Toolchain (2009q1) The CodeSourcery Toolchain (2009q1)
@@ -172,4 +172,9 @@ HOSTCC = gcc
HOSTINCLUDES = -I. HOSTINCLUDES = -I.
HOSTCFLAGS = -Wall -Wstrict-prototypes -Wshadow -g -pipe HOSTCFLAGS = -Wall -Wstrict-prototypes -Wshadow -g -pipe
HOSTLDFLAGS = HOSTLDFLAGS =
ifeq ($(CONFIG_HOST_WINDOWS),y)
HOSTEXEEXT = .exe
else
HOSTEXEEXT =
endif
-3
View File
@@ -342,9 +342,6 @@ Toolchains
because the dependencies are generated using Windows pathes which do not because the dependencies are generated using Windows pathes which do not
work with the Cygwin make. work with the Cygwin make.
Support has been added for making dependencies with the windows-native toolchains.
That support can be enabled by modifying your Make.defs file as follows:
MKDEP = $(TOPDIR)/tools/mknulldeps.sh MKDEP = $(TOPDIR)/tools/mknulldeps.sh
Loading NuttX with PICkit2 Loading NuttX with PICkit2
-4
View File
@@ -268,10 +268,6 @@ Windows Native Toolchains
is because the dependencies are generated using Windows pathes which do is because the dependencies are generated using Windows pathes which do
not work with the Cygwin make. not work with the Cygwin make.
Support has been added for making dependencies with the windows-native
toolchains. That support can be enabled by modifying your Make.defs
file as follows:
MKDEP = $(TOPDIR)/tools/mknulldeps.sh MKDEP = $(TOPDIR)/tools/mknulldeps.sh
An additional issue with the WinAVR toolchain, in particular, is that it An additional issue with the WinAVR toolchain, in particular, is that it
-3
View File
@@ -341,9 +341,6 @@ GNU Toolchain Options
because the dependencies are generated using Windows pathes which do not because the dependencies are generated using Windows pathes which do not
work with the Cygwin make. work with the Cygwin make.
Support has been added for making dependencies with the windows-native toolchains.
That support can be enabled by modifying your Make.defs file as follows:
MKDEP = $(TOPDIR)/tools/mknulldeps.sh MKDEP = $(TOPDIR)/tools/mknulldeps.sh
NOTE 1: The CodeSourcery toolchain (2009q1) does not work with default optimization NOTE 1: The CodeSourcery toolchain (2009q1) does not work with default optimization
-3
View File
@@ -287,9 +287,6 @@ Toolchains
because the dependencies are generated using Windows pathes which do not because the dependencies are generated using Windows pathes which do not
work with the Cygwin make. work with the Cygwin make.
Support has been added for making dependencies with the windows-native toolchains.
That support can be enabled by modifying your Make.defs file as follows:
MKDEP = $(TOPDIR)/tools/mknulldeps.sh MKDEP = $(TOPDIR)/tools/mknulldeps.sh
Loading NuttX with PICkit2 Loading NuttX with PICkit2
-3
View File
@@ -80,9 +80,6 @@ GNU Toolchain Options
because the dependencies are generated using Windows pathes which do not because the dependencies are generated using Windows pathes which do not
work with the Cygwin make. work with the Cygwin make.
Support has been added for making dependencies with the windows-native toolchains.
That support can be enabled by modifying your Make.defs file as follows:
MKDEP = $(TOPDIR)/tools/mknulldeps.sh MKDEP = $(TOPDIR)/tools/mknulldeps.sh
NOTE 1: The CodeSourcery toolchain (2009q1) does not work with default optimization NOTE 1: The CodeSourcery toolchain (2009q1) does not work with default optimization
+15 -4
View File
@@ -290,11 +290,17 @@ mknulldeps.sh
The mknulldeps.sh is a stub script that does essentially nothing. The mknulldeps.sh is a stub script that does essentially nothing.
NOTE: The mkdep.* files are undergoing change. mkdeps.sh is a bash NOTE: The mk*deps.* files are undergoing change. mkdeps.sh is a bash
script that produces dependencies well for POSIX style hosts (e..g., script that produces dependencies well for POSIX style hosts (e..g.,
Linux and Cygwin). It does not work well for mixed environments with Linux and Cygwin). It does not work well for mixed environments with
a Windows toolchain running in a POSIX style environemnt (hence, the a Windows toolchain running in a POSIX style environemnt (hence, the
mknulldeps.sh script). mknulldeps.sh script). And, of course, cannot be used in a Windows
nativ environment.
[mkdeps.sh does have an option, --winpath, that purports to convert
the dependencies generated by a Windows toolchain to POSIX format.
However, that is not being used and mostly likely does not cover
all of the conversion cases.]
mkdeps.bat is a simple port of the bash script to run in a Windows mkdeps.bat is a simple port of the bash script to run in a Windows
command shell. However, it does not work well either because some command shell. However, it does not work well either because some
@@ -302,8 +308,13 @@ mknulldeps.sh
by the CMD.exe shell. by the CMD.exe shell.
mkdeps.c generates mkdeps (on Linux) or mkdeps.exe (on Windows). mkdeps.c generates mkdeps (on Linux) or mkdeps.exe (on Windows).
This C version should solve all of the issues. However, this verison However, this verison is still under-development. It works well in
is still under-development. the all POSIX environment or in the all Windows environment but also
does not work well in mixed POSIX environment with a Windows toolchain.
In that case, there are still issues with the conversion of things like
'c:\Program Files' to 'c:program files' by bash. Those issues may,
eventually be solvable but for now continue to use mknulldeps.sh in
that mixed environment.
define.sh define.sh
+2 -1
View File
@@ -396,7 +396,8 @@ static void do_dependency(const char *file, char separator)
ret = system(command); ret = system(command);
if (ret != 0) if (ret != 0)
{ {
fprintf(stderr, "ERROR: ssystem(%s) failed\n", command); fprintf(stderr, "ERROR: system failed: %s\n", strerror(errno));
fprintf(stderr, " command: %s\n", command);
exit(EXIT_FAILURE); exit(EXIT_FAILURE);
} }