ZNEO now (almost) builds in Windows native environment
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5402 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
parent
b53eb4012f
commit
4f97ebf4cf
@ -181,7 +181,7 @@ define ASSEMBLE
|
|||||||
endef
|
endef
|
||||||
|
|
||||||
define ARCHIVE
|
define ARCHIVE
|
||||||
echo AR: $2
|
@echo AR: $2
|
||||||
$(Q) for %%G in ($(2)) do ( "$(AR)" $(ARFLAGS) $1=-+%%G )
|
$(Q) for %%G in ($(2)) do ( "$(AR)" $(ARFLAGS) $1=-+%%G )
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
@ -181,7 +181,7 @@ define ASSEMBLE
|
|||||||
endef
|
endef
|
||||||
|
|
||||||
define ARCHIVE
|
define ARCHIVE
|
||||||
echo AR: $2
|
@echo AR: $2
|
||||||
$(Q) for %%G in ($(2)) do ( "$(AR)" $(ARFLAGS) $1=-+%%G )
|
$(Q) for %%G in ($(2)) do ( "$(AR)" $(ARFLAGS) $1=-+%%G )
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
@ -181,7 +181,7 @@ define ASSEMBLE
|
|||||||
endef
|
endef
|
||||||
|
|
||||||
define ARCHIVE
|
define ARCHIVE
|
||||||
echo AR: $2
|
@echo AR: $2
|
||||||
$(Q) for %%G in ($(2)) do ( "$(AR)" $(ARFLAGS) $1=-+%%G )
|
$(Q) for %%G in ($(2)) do ( "$(AR)" $(ARFLAGS) $1=-+%%G )
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
@ -181,7 +181,7 @@ define ASSEMBLE
|
|||||||
endef
|
endef
|
||||||
|
|
||||||
define ARCHIVE
|
define ARCHIVE
|
||||||
echo AR: $2
|
@echo AR: $2
|
||||||
$(Q) for %%G in ($(2)) do ( "$(AR)" $(ARFLAGS) $1=-+%%G )
|
$(Q) for %%G in ($(2)) do ( "$(AR)" $(ARFLAGS) $1=-+%%G )
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
@ -181,7 +181,7 @@ define ASSEMBLE
|
|||||||
endef
|
endef
|
||||||
|
|
||||||
define ARCHIVE
|
define ARCHIVE
|
||||||
echo AR: $2
|
@echo AR: $2
|
||||||
$(Q) for %%G in ($(2)) do ( "$(AR)" $(ARFLAGS) $1=-+%%G )
|
$(Q) for %%G in ($(2)) do ( "$(AR)" $(ARFLAGS) $1=-+%%G )
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
@ -181,7 +181,7 @@ define ASSEMBLE
|
|||||||
endef
|
endef
|
||||||
|
|
||||||
define ARCHIVE
|
define ARCHIVE
|
||||||
echo AR: $2
|
@echo AR: $2
|
||||||
$(Q) for %%G in ($(2)) do ( "$(AR)" $(ARFLAGS) $1=-+%%G )
|
$(Q) for %%G in ($(2)) do ( "$(AR)" $(ARFLAGS) $1=-+%%G )
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
@ -181,7 +181,7 @@ define ASSEMBLE
|
|||||||
endef
|
endef
|
||||||
|
|
||||||
define ARCHIVE
|
define ARCHIVE
|
||||||
echo AR: $2
|
@echo AR: $2
|
||||||
$(Q) for %%G in ($(2)) do ( "$(AR)" $(ARFLAGS) $1=-+%%G )
|
$(Q) for %%G in ($(2)) do ( "$(AR)" $(ARFLAGS) $1=-+%%G )
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
@ -139,6 +139,9 @@ ostest
|
|||||||
the end of the lines after a line continuation (\ ^M). If these
|
the end of the lines after a line continuation (\ ^M). If these
|
||||||
trailing bad characters are manually eliminated, then the build
|
trailing bad characters are manually eliminated, then the build
|
||||||
will succeed on the next try.
|
will succeed on the next try.
|
||||||
|
d. Hmmm... when last tested, there some missing .obj files in arch/z16/src.
|
||||||
|
A little additional TLC might be needed to get a reliable Windows
|
||||||
|
native build.
|
||||||
|
|
||||||
pashello
|
pashello
|
||||||
--------
|
--------
|
||||||
|
@ -174,7 +174,7 @@ define ASSEMBLE
|
|||||||
endef
|
endef
|
||||||
|
|
||||||
define ARCHIVE
|
define ARCHIVE
|
||||||
echo AR: $2
|
@echo AR: $2
|
||||||
$(Q) for %%G in ($(2)) do ( "$(AR)" $(ARFLAGS) $1=-+%%G )
|
$(Q) for %%G in ($(2)) do ( "$(AR)" $(ARFLAGS) $1=-+%%G )
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
@ -8,10 +8,14 @@ CONFIG_NUTTX_NEWCONFIG=y
|
|||||||
# Build Setup
|
# Build Setup
|
||||||
#
|
#
|
||||||
# CONFIG_EXPERIMENTAL is not set
|
# CONFIG_EXPERIMENTAL is not set
|
||||||
CONFIG_HOST_LINUX=y
|
# CONFIG_HOST_LINUX is not set
|
||||||
# CONFIG_HOST_OSX is not set
|
# CONFIG_HOST_OSX is not set
|
||||||
# CONFIG_HOST_WINDOWS is not set
|
CONFIG_HOST_WINDOWS=y
|
||||||
# CONFIG_HOST_OTHER is not set
|
# CONFIG_HOST_OTHER is not set
|
||||||
|
# CONFIG_WINDOWS_NATIVE is not set
|
||||||
|
CONFIG_WINDOWS_CYGWIN=y
|
||||||
|
# CONFIG_WINDOWS_MSYS is not set
|
||||||
|
# CONFIG_WINDOWS_OTHER is not set
|
||||||
|
|
||||||
#
|
#
|
||||||
# Build Configuration
|
# Build Configuration
|
||||||
|
@ -174,7 +174,7 @@ define ASSEMBLE
|
|||||||
endef
|
endef
|
||||||
|
|
||||||
define ARCHIVE
|
define ARCHIVE
|
||||||
echo AR: $2
|
@echo AR: $2
|
||||||
$(Q) for %%G in ($(2)) do ( "$(AR)" $(ARFLAGS) $1=-+%%G )
|
$(Q) for %%G in ($(2)) do ( "$(AR)" $(ARFLAGS) $1=-+%%G )
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
@ -8,10 +8,14 @@ CONFIG_NUTTX_NEWCONFIG=y
|
|||||||
# Build Setup
|
# Build Setup
|
||||||
#
|
#
|
||||||
# CONFIG_EXPERIMENTAL is not set
|
# CONFIG_EXPERIMENTAL is not set
|
||||||
CONFIG_HOST_LINUX=y
|
# CONFIG_HOST_LINUX is not set
|
||||||
# CONFIG_HOST_OSX is not set
|
# CONFIG_HOST_OSX is not set
|
||||||
# CONFIG_HOST_WINDOWS is not set
|
CONFIG_HOST_WINDOWS=y
|
||||||
# CONFIG_HOST_OTHER is not set
|
# CONFIG_HOST_OTHER is not set
|
||||||
|
# CONFIG_WINDOWS_NATIVE is not set
|
||||||
|
CONFIG_WINDOWS_CYGWIN=y
|
||||||
|
# CONFIG_WINDOWS_MSYS is not set
|
||||||
|
# CONFIG_WINDOWS_OTHER is not set
|
||||||
|
|
||||||
#
|
#
|
||||||
# Build Configuration
|
# Build Configuration
|
||||||
|
@ -39,7 +39,7 @@ SCHEDSRCDIR = $(TOPDIR)$(DELIM)sched
|
|||||||
ARCHSRCDIR = $(TOPDIR)$(DELIM)arch$(DELIM)$(CONFIG_ARCH)$(DELIM)src
|
ARCHSRCDIR = $(TOPDIR)$(DELIM)arch$(DELIM)$(CONFIG_ARCH)$(DELIM)src
|
||||||
|
|
||||||
ifeq ($(CONFIG_WINDOWS_NATIVE),y)
|
ifeq ($(CONFIG_WINDOWS_NATIVE),y)
|
||||||
USRINCLUDES = -usrinc:'.;$(SCHEDSRCDIR);$(ARCHSRCDIR);$(ARCHSRCDIR)\common'
|
USRINCLUDES = -usrinc:".;$(SCHEDSRCDIR);$(ARCHSRCDIR);$(ARCHSRCDIR)\common"
|
||||||
else
|
else
|
||||||
WSCHEDSRCDIR = ${shell cygpath -w $(SCHEDSRCDIR)}
|
WSCHEDSRCDIR = ${shell cygpath -w $(SCHEDSRCDIR)}
|
||||||
WARCHSRCDIR = ${shell cygpath -w $(ARCHSRCDIR)}
|
WARCHSRCDIR = ${shell cygpath -w $(ARCHSRCDIR)}
|
||||||
|
@ -207,7 +207,7 @@ define ASSEMBLE
|
|||||||
endef
|
endef
|
||||||
|
|
||||||
define ARCHIVE
|
define ARCHIVE
|
||||||
echo AR: $2
|
@echo AR: $2
|
||||||
$(Q) for %%G in ($(2)) do ( "$(AR)" $(ARFLAGS) $1=-+%%G )
|
$(Q) for %%G in ($(2)) do ( "$(AR)" $(ARFLAGS) $1=-+%%G )
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
@ -207,7 +207,7 @@ define ASSEMBLE
|
|||||||
endef
|
endef
|
||||||
|
|
||||||
define ARCHIVE
|
define ARCHIVE
|
||||||
echo AR: $2
|
@echo AR: $2
|
||||||
$(Q) for %%G in ($(2)) do ( "$(AR)" $(ARFLAGS) $1=-+%%G )
|
$(Q) for %%G in ($(2)) do ( "$(AR)" $(ARFLAGS) $1=-+%%G )
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user