apps/, Various Makefiles: Fix mixed references to nuttx/lib. These need to be changed to nuttx/staging.
This commit is contained in:
parent
06dae98ce2
commit
634dd7709b
2
Makefile
2
Makefile
@ -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
|
||||
|
||||
|
@ -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)
|
||||
|
@ -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)
|
||||
|
@ -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)
|
||||
|
@ -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)
|
||||
|
@ -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)
|
||||
|
@ -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)
|
||||
|
@ -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)
|
||||
|
@ -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)
|
||||
|
@ -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)
|
||||
|
@ -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__}
|
||||
|
@ -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__}
|
||||
|
@ -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__}
|
||||
|
@ -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
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user