apps/, Various Makefiles: Fix mixed references to nuttx/lib. These need to be changed to nuttx/staging.

This commit is contained in:
Gregory Nutt 2018-05-30 11:08:13 -06:00
parent 06dae98ce2
commit 634dd7709b
15 changed files with 28 additions and 27 deletions

View File

@ -63,7 +63,7 @@ $(foreach BDIR, $(BUILDIRS), $(eval $(call Add_Application,$(BDIR))))
# Library path
LIBPATH ?= $(TOPDIR)$(DELIM)libs
LIBPATH ?= $(TOPDIR)$(DELIM)staging
# The install path

View File

@ -39,9 +39,9 @@ OBJEXT ?= .o
DELIM ?= /
ifeq ($(WINTOOL),y)
NUTTXLIB = "${shell cygpath -w $(TOPDIR)$(DELIM)lib}"
NUTTXLIB = "${shell cygpath -w $(TOPDIR)$(DELIM)staging}"
else
NUTTXLIB = "$(TOPDIR)$(DELIM)lib"
NUTTXLIB = "$(TOPDIR)$(DELIM)staging"
endif
ifeq ($(CONFIG_EXAMPLES_ELF_SYSCALL),y)

View File

@ -39,9 +39,9 @@ OBJEXT ?= .o
DELIM ?= /
ifeq ($(WINTOOL),y)
NUTTXLIB = "${shell cygpath -w $(TOPDIR)$(DELIM)lib}"
NUTTXLIB = "${shell cygpath -w $(TOPDIR)$(DELIM)staging}"
else
NUTTXLIB = "$(TOPDIR)$(DELIM)lib"
NUTTXLIB = "$(TOPDIR)$(DELIM)staging"
endif
ifeq ($(CONFIG_EXAMPLES_ELF_SYSCALL),y)

View File

@ -39,9 +39,9 @@ OBJEXT ?= .o
DELIM ?= /
ifeq ($(WINTOOL),y)
NUTTXLIB = "${shell cygpath -w $(TOPDIR)$(DELIM)lib}"
NUTTXLIB = "${shell cygpath -w $(TOPDIR)$(DELIM)staging}"
else
NUTTXLIB = "$(TOPDIR)$(DELIM)lib"
NUTTXLIB = "$(TOPDIR)$(DELIM)staging"
endif
ifeq ($(CONFIG_EXAMPLES_ELF_SYSCALL),y)

View File

@ -39,9 +39,9 @@ OBJEXT ?= .o
DELIM ?= /
ifeq ($(WINTOOL),y)
NUTTXLIB = "${shell cygpath -w $(TOPDIR)$(DELIM)lib}"
NUTTXLIB = "${shell cygpath -w $(TOPDIR)$(DELIM)staging}"
else
NUTTXLIB = "$(TOPDIR)$(DELIM)lib"
NUTTXLIB = "$(TOPDIR)$(DELIM)staging"
endif
ifeq ($(CONFIG_EXAMPLES_ELF_SYSCALL),y)

View File

@ -39,9 +39,9 @@ OBJEXT ?= .o
DELIM ?= /
ifeq ($(WINTOOL),y)
NUTTXLIB = "${shell cygpath -w $(TOPDIR)$(DELIM)lib}"
NUTTXLIB = "${shell cygpath -w $(TOPDIR)$(DELIM)staging}"
else
NUTTXLIB = "$(TOPDIR)$(DELIM)lib"
NUTTXLIB = "$(TOPDIR)$(DELIM)staging"
endif
ifeq ($(CONFIG_EXAMPLES_ELF_SYSCALL),y)

View File

@ -39,9 +39,9 @@ OBJEXT ?= .o
DELIM ?= /
ifeq ($(WINTOOL),y)
NUTTXLIB = "${shell cygpath -w $(TOPDIR)$(DELIM)lib}"
NUTTXLIB = "${shell cygpath -w $(TOPDIR)$(DELIM)staging}"
else
NUTTXLIB = "$(TOPDIR)$(DELIM)lib"
NUTTXLIB = "$(TOPDIR)$(DELIM)staging"
endif
ifeq ($(CONFIG_EXAMPLES_ELF_SYSCALL),y)

View File

@ -39,9 +39,9 @@ OBJEXT ?= .o
DELIM ?= /
ifeq ($(WINTOOL),y)
NUTTXLIB = "${shell cygpath -w $(TOPDIR)$(DELIM)lib}"
NUTTXLIB = "${shell cygpath -w $(TOPDIR)$(DELIM)staging}"
else
NUTTXLIB = "$(TOPDIR)$(DELIM)lib"
NUTTXLIB = "$(TOPDIR)$(DELIM)staging"
endif
ifeq ($(CONFIG_EXAMPLES_ELF_SYSCALL),y)

View File

@ -41,9 +41,9 @@ DELIM ?= /
CELFFLAGS += -I.
ifeq ($(WINTOOL),y)
NUTTXLIB = "${shell cygpath -w $(TOPDIR)$(DELIM)lib}"
NUTTXLIB = "${shell cygpath -w $(TOPDIR)$(DELIM)staging}"
else
NUTTXLIB = "$(TOPDIR)$(DELIM)lib"
NUTTXLIB = "$(TOPDIR)$(DELIM)staging"
endif
ifeq ($(CONFIG_EXAMPLES_ELF_SYSCALL),y)

View File

@ -39,9 +39,9 @@ OBJEXT ?= .o
DELIM ?= /
ifeq ($(WINTOOL),y)
NUTTXLIB = "${shell cygpath -w $(TOPDIR)$(DELIM)lib}"
NUTTXLIB = "${shell cygpath -w $(TOPDIR)$(DELIM)staging}"
else
NUTTXLIB = "$(TOPDIR)$(DELIM)lib"
NUTTXLIB = "$(TOPDIR)$(DELIM)staging"
endif
ifeq ($(CONFIG_EXAMPLES_ELF_SYSCALL),y)

View File

@ -40,9 +40,9 @@ OBJEXT ?= .o
DELIM ?= /
ifeq ($(WINTOOL),y)
NUTTXLIB = "${shell cygpath -w $(TOPDIR)$(DELIM)lib}"
NUTTXLIB = "${shell cygpath -w $(TOPDIR)$(DELIM)staging}"
else
NUTTXLIB = "$(TOPDIR)$(DELIM)lib"
NUTTXLIB = "$(TOPDIR)$(DELIM)staging"
endif
KDEFINE = ${shell $(TOPDIR)/tools/define.sh "$(CC)" __KERNEL__}

View File

@ -40,9 +40,9 @@ OBJEXT ?= .o
DELIM ?= /
ifeq ($(WINTOOL),y)
NUTTXLIB = "${shell cygpath -w $(TOPDIR)$(DELIM)lib}"
NUTTXLIB = "${shell cygpath -w $(TOPDIR)$(DELIM)staging}"
else
NUTTXLIB = "$(TOPDIR)$(DELIM)lib"
NUTTXLIB = "$(TOPDIR)$(DELIM)staging"
endif
KDEFINE = ${shell $(TOPDIR)/tools/define.sh "$(CC)" __KERNEL__}

View File

@ -40,9 +40,9 @@ OBJEXT ?= .o
DELIM ?= /
ifeq ($(WINTOOL),y)
NUTTXLIB = "${shell cygpath -w $(TOPDIR)$(DELIM)lib}"
NUTTXLIB = "${shell cygpath -w $(TOPDIR)$(DELIM)staging}"
else
NUTTXLIB = "$(TOPDIR)$(DELIM)lib"
NUTTXLIB = "$(TOPDIR)$(DELIM)staging"
endif
KDEFINE = ${shell $(TOPDIR)/tools/define.sh "$(CC)" __KERNEL__}

View File

@ -186,10 +186,10 @@ AFLAGS = $(CFLAGS) -D__ASSEMBLY__
ifeq ($(WINTOOL),y)
# Windows-native toolchains
LDLIBPATH = -L "${shell cygpath -w $(APPDIR)}" -L "${shell cygpath -w $(TOPDIR)$(DELIM)libs}"
LDLIBPATH = -L "${shell cygpath -w $(APPDIR)}" -L "${shell cygpath -w $(TOPDIR)$(DELIM)staging}"
else
# Linux/Cygwin-native toolchain
LDLIBPATH = -L $(APPDIR) -L $(TOPDIR)$(DELIM)libs
LDLIBPATH = -L $(APPDIR) -L $(TOPDIR)$(DELIM)staging
endif
LDLIBS = -lapps -lnuttx

View File

@ -312,6 +312,7 @@ int zm_sendhexhdr(FAR struct zm_state_s *pzm, int type,
}
/* crc-1 crc-2 */
/* REVISIT: Should this be zm_putzdle()? */
ptr = zm_puthex8(ptr, (crc >> 8) & 0xff);
ptr = zm_puthex8(ptr, crc & 0xff);