Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
NuttX RTOS
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
f4grx
NuttX RTOS
Commits
f9189ae6
Commit
f9189ae6
authored
11 years ago
by
Gregory Nutt
Browse files
Options
Downloads
Patches
Plain Diff
Olimex STM32 P107: Add native Windows build support. From Max Holtzberg
parent
b9a38cea
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
ChangeLog
+2
-0
2 additions, 0 deletions
ChangeLog
configs/olimex-stm32-p107/nsh/Make.defs
+12
-1
12 additions, 1 deletion
configs/olimex-stm32-p107/nsh/Make.defs
with
14 additions
and
1 deletion
ChangeLog
+
2
−
0
View file @
f9189ae6
...
...
@@ -6360,4 +6360,6 @@
Thomas Grubler (2014-1-2).
* tools/configure.c and mkdeps.c: Fixes for Windows build issues
from Max Holtzberg (2014-1-4).
* configs/olimex-stm32-p107/nsh/Make.defs: Add native Windoes build
support for the Olimex STM32 P107. From Max Holtzberg (2014-1-4).
This diff is collapsed.
Click to expand it.
configs/olimex-stm32-p107/nsh/Make.defs
+
12
−
1
View file @
f9189ae6
...
...
@@ -43,6 +43,16 @@ else
LDSCRIPT = ld.script
endif
ifeq ($(CONFIG_WINDOWS_NATIVE),y)
# Windows-native toolchains
DIRLINK = $(TOPDIR)\tools\copydir.bat
DIRUNLINK = $(TOPDIR)\tools\unlink.bat
MKDEP = $(TOPDIR)\tools\mkdeps.exe
ARCHINCLUDES = -I. -isystem $(TOPDIR)\include
ARCHXXINCLUDES = -I. -isystem $(TOPDIR)\include -isystem $(TOPDIR)\include\cxx
ARCHSCRIPT = -T$(TOPDIR)\configs\$(CONFIG_ARCH_BOARD)\scripts\$(LDSCRIPT)
DELIM := $(strip /)
else
ifeq ($(WINTOOL),y)
# Windows-native toolchains
DIRLINK = $(TOPDIR)/tools/copydir.sh
...
...
@@ -53,12 +63,13 @@ ifeq ($(WINTOOL),y)
ARCHSCRIPT = -T "${shell cygpath -w $(TOPDIR)/configs/$(CONFIG_ARCH_BOARD)/scripts/$(LDSCRIPT)}"
MAXOPTIMIZATION = -O2
else
# Linux/Cygwin-native toolchain
# Linux/Cygwin-native toolchain
MKDEP = $(TOPDIR)/tools/mkdeps.sh
ARCHINCLUDES = -I. -isystem $(TOPDIR)/include
ARCHXXINCLUDES = -I. -isystem $(TOPDIR)/include -isystem $(TOPDIR)/include/cxx
ARCHSCRIPT = -T$(TOPDIR)/configs/$(CONFIG_ARCH_BOARD)/scripts/$(LDSCRIPT)
endif
endif
CC = $(CROSSDEV)gcc
CXX = $(CROSSDEV)g++
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment