Some Windows native build fixes

This commit is contained in:
Gregory Nutt 2014-02-07 09:29:02 -06:00
parent 5f385c17af
commit f942fe139d

View File

@ -1,7 +1,7 @@
############################################################################
# apps/platform/Makefile
#
# Copyright (C) 2013 Gregory Nutt. All rights reserved.
# Copyright (C) 2013-2014 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <gnutt@nuttx.org>
#
# Redistribution and use in source and binary forms, with or without
@ -41,9 +41,14 @@ include $(APPDIR)$(DELIM)Make.defs
# Tool stuff
ifeq ($(DIRLINK),)
ifeq ($(CONFIG_WINDOWS_NATIVE),y)
DIRLINK = $(TOPDIR)/tools/link.bat
DIRUNLINK = $(TOPDIR)/tools/unlink.bat
else
DIRLINK = $(TOPDIR)/tools/link.sh
DIRUNLINK = $(TOPDIR)/tools/unlink.sh
endif
endif
ifeq ($(WINTOOL),y)
INCDIROPT = -w